#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int y,x;
clrscr();
printf("\nEnter a number for its cube");
scanf("%d",&x);
y=pow(x,3);
printf("\nCube of the given number is %d ",y);
getch();
}
#include<conio.h>
#include<math.h>
void main()
{
int y,x;
clrscr();
printf("\nEnter a number for its cube");
scanf("%d",&x);
y=pow(x,3);
printf("\nCube of the given number is %d ",y);
getch();
}
No comments:
Post a Comment