How to write a C Program To Find The Square and Cube of Number in C Programming Language ?
C Program To Find The Square and Cube of Number |
Solution For C Program To Find The Square and Cube of Number:
#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();
}
Tags: C Program To Find The Square and Cube of Number, c program to find square root of a number, c program to find square root of a number without using sqrt function, write a program in c to find the square root of a number, c program to find square root of a number using newton-raphson method, c program to find square root of a number without using math, c program to find square root of a number using for loop, c program to find square root of a number without using library function, c program to find square root of a given number.