#include <stdio.h>
int main()
{
int a;
printf(“Enter a: ”);
scanf(“%d”, &a);
int volume=a*a*a;
printf(“Volume of the cube=%d”,volume);
}
Output-
Enter a: 5
Volume of the cube=125
Call us at 0700-922-6559 or Click here
#include <stdio.h>
int main()
{
int a;
printf(“Enter a: ”);
scanf(“%d”, &a);
int volume=a*a*a;
printf(“Volume of the cube=%d”,volume);
}
Output-
Enter a: 5
Volume of the cube=125
Designed and Developed with ♥ by Codrity Technologies
© Codrity 2019 All right reserved
|
|