Write a C Program to find the cube of number

Write a C Program to find the cube of number
Here is the C Program to find the cube of number ,the number is taken as input from user.
#include<stdio.h>
#include<conio.h>
int main()
{           int a;
             printf(“Enter the number:”);
             scanf(“%d”,&a);
             printf(“Cube of number is:%d”,a*a*a);
             return 0;
}
Output

You may also like...

Leave a Reply