Program to find cube of a number.
#include <stdio.h>
#include <conio.h>
void main()
{
int a, b;
clrscr();
printf ("Enter any number to find its cube: ");
scanf ("%d", &a);
b = a * a * a;
printf ("Cube of %d is %d", a, b);
getch();
}
#include <stdio.h>
#include <conio.h>
void main()
{
int a, b;
clrscr();
printf ("Enter any number to find its cube: ");
scanf ("%d", &a);
b = a * a * a;
printf ("Cube of %d is %d", a, b);
getch();
}