About Me

My photo
Raipur, Chhattisgarh, India
Hi , I am Amit Thakur. I have worked as a QA Engineer for two years and as a Java Developer for one year in NIHILENT TECHNOLOGIES PVT. LTD., Pune.Currently I am working as DEAN (Research & Development) in Bhilai Institute of Technology, Raipur.

Thursday, November 26, 2009

/*C Prog:- Find The Square and Cube of Number*/

/*C Prog:- Find The Square and Cube of Number*/
/*Written By:- Amit Thakur */

#include
#include
void main()
{
                 int no,square,cube;
                clrscr();
                 printf("enter the number ");
                 scanf("%d",&no);
                 square=no*no;
                 cube=no*no*no;
                 printf("the square is=%d",square);
                 printf("the cube is=%d",cube);
                 getch();
}

Wednesday, November 25, 2009

/* C-Prog for Addition of two Numbers*/

/*C-Prog*/
/* Prog for Addition of two Numbers*/
/*Written by:-Amit Thakur */
void main()
{
int num1=10,num2=20;
clrscr();
printf("Addition is %d",num1+num2);
getch();
}