Write a C program to calculate the volume of cube.
#inlcude<stdio.h>
#include<conio.h>
void main()
{
int side, vol;
clrscr();
printf(“Enter the side of the cube:”);
scanf(“%d”,&side);
vol= side*side*side;
printf(“\nVolume of cube is %d”,vol);
getch();
}

0 Comments
Have any query? Want any type of module?
Please comment it down and let me know.