Education

Input & Output Devices

Program to find Cube



// Program to find Cube


#include<stdio.h>
#include<conio.h>
main();
{
int n,Cube;
clrscr();
printf("Enter a number:");
scanf("%d",&n);
Cube=n*n*n;
printf("\n Cube:",Cube);
getch();
}

Comments