Tuesday, 9 July 2013

Program to calculate Volume of a Cube

#include <stdio.h>
void main()
{
int l,volume;
clrscr ();
printf("Enter the number");
scanf("%d",&l);
volume=l*l*l;
printf("%d",volume);
getch();

}

No comments:

Post a Comment