Twitter Feed Facebook Google Plus Youtube

Adsense responsive

Recent Post below header

Friday, 21 June 2013

JAVA PROGRAM: TO CALCULATE CIRCUMFERENCE OF A CIRCLE

Java Program


CODING OF CALCULATE CIRCUMFERENCE BUTTON(jButton1)

        double cm,r;
        r=Double.parseDouble(jTextField1.getText());
        cm=2*3.14*r;
        jTextField2.setText(" "+cm);


CODING OF CLEAR BUTTON(jButton2)

        jTextField1.setText(" ");
        jTextField2.setText(" ");
   

CODING OF EXIT BUTTON(jButton3)   

        System.exit(0);


Java Program Coding
CODING

Java Program Output
RUNNING


For any query or suggestion please comment below...

JAVA PROGRAM: TO CALCULATE AREA OF CIRCLE

Java Program

CODING OF CALCULATE AREA BUTTON(jButton1)

        double area,r;
        r=Double.parseDouble(jTextField1.getText());
        area=3.14*r*r;
        jTextField2.setText(" "+area);


CODING OF CLEAR BUTTON(jButton2)

        jTextField1.setText(" ");
        jTextField2.setText(" ");
   

CODING OF EXIT BUTTON(jButton3)   

        System.exit(0);


Java Program Coding
Java Program Coding
Java Program Running
Java Program Running

For any query or suggestion please comment below...

C PROGRAM: TO FIND SUM OF ELEMENTS OF MATRIX

CODING:
#include<conio.h>
#include<stdio.h>
void main()
{
    int a[10][10],i,j,m,n,sum=0;
    clrscr();
    printf("Enter order of matrix: ");
    scanf("%d%d",&m,&n);
    printf("\n\n");
    for(i=1;i<=m;i++)
       for(j=1;j<=n;j++)
       {
          printf("Enter value of a[%d][%d]: ",i,j);
          scanf("%d",&a[i][j]);
          sum+=a[i][j];
       }
    printf("\n\nSum of elements of matrix is %d",sum);
    getch();
}



C PROGRAM CODING
CODING
Click on images to view them correctly.

C PROGRAM OUTPUT
OUTPUT

For any query or suggestion please comment below...

C PROGRAM: TO CALCULATE CIRCUMFERENCE OF CIRCLE

CODING:
#include<conio.h>
#include<stdio.h>
#define PI 3.14
void main()
{
    float cm,r;
    clrscr();
    printf("Enter radius of circle: ");
    scanf("%f",&r);
    cm=2*PI*r;
    printf("\n\nCircumference of circle is %.2f",cm);
    getch();
}


coding c program
CODING
Click on images to view them correctly.

C Program Output
OUTPUT

For any query or suggestion please comment below...

Thursday, 20 June 2013

GOOGLE SEARCH ENGINE CALCULATOR

Google search engine is a world's famous and most used web search engine. It provides many features and one of it is Google search engine calculator. For this just go to Google.com and search any calculation such as 7*5 , 3/3 , 5-2 , etc. For example click here.

Then you are able to see Google search engine calculator (see the image below). So use it and explore Google.


Click on image to view it correctly.


DOWNLOAD MOZILLA FIREFOX IN 70+ LANGUAGES

Mozilla Firefox is a open source and very powerful internet browser. It supports almost all types of webpages and other internet content. It comes with latest and most popular features. It is available for MAC , Windows and Linux operating systems.

You can also download Mozilla Firefox in 70+ languages. For this first of all go to www.mozilla.com and click on Systems & Languages.   Now find the desired language and in front of it choose your operating system. Your downloading will start. After downloading setup,  just install it.  That's all .  

DOWNLOAD MOZILLA FIREFOX IN 70+ LANGUAGES



Wednesday, 19 June 2013

HOW TO ACCESS USB/PENDRIVE IN UBUNTU (GUEST) IN VIRTUALBOX IN WINDOWS (HOST) [WRITTEN]

Ubuntu is free, open source and best alternative of Windows. Many Windows user wants to try it but they afraid that something may go wrong while installing it. But there is another by using which you can test Ubuntu or any other operating system in Windows only. This way is installing operating system in any virtual machine which is just like installing an software in Windows.


In today's tutorial I will tell you the way to access USB in Ubuntu (guest) in VirtualBox in Windows (host).

1.For this first of all download VirtualBox extension pack from here. Notice that the extension pack version and VirtualBox version should match.
2. Install this extension pack.
3. Right click on Ubuntu (see the image below ), go to settings -> USB.
acess usb in ubuntu (guest)
Click on images to view them correctly.

4. Tick " Enable USB 2.0 (EHCI) Controller " and Click OK.
acess usb in ubuntu (guest)
 Click on images to view them correctly.

5. Now start the Ubuntu and insert the USB / PenDrive you want to access in Ubuntu.
6. Right click USB icon (shown in image below) and select the USB you want to access in Ubuntu.
acess usb in ubuntu (guest) tutorial

Click on images to view them correctly.


7. Now you can access USB/PenDrive in Ubuntu.


Want to ask something feel free to comment below.

HOW TO ACCESS USB IN UBUNTU (GUEST) IN VIRTUALBOX IN WINDOWS (HOST) [VIDEO]

Ubuntu is free, open source and best alternative of Windows. Many Windows user wants to try it but they afraid that something may go wrong while installing it. But there is another by using which you can test Ubuntu or any other operating system in Windows only. This way is installing operating system in any virtual machine which is just like installing an software in Windows.


In today's tutorial I will tell you the way to access USB in Ubuntu (guest) in VirtualBox in Windows (host).





Also see:
 HOW TO ACCESS USB IN UBUNTU (GUEST) IN VIRTUALBOX IN WINDOWS (HOST) [WRITTEN]


Want to ask something feel free to comment below.