Computer Science, asked by fluffystrawberrywolf, 2 months ago

write a C program to calculate the volume of a cube
(volume =side *side * side)
please tell fast​

Answers

Answered by Akshaya890
2

Answer:

#include<studio.h> [preloaded all the standard functions]

int main() [defined the main function to the compiler]

{

float side,area; [Float variable creation]

printf("enter side of cube: "); [Print same at output]

scanf("%f",&side)

area=side*side*side;[Process of Multiplication with respect to the formula]

printf("VOC: %f\n",area);

return 0;[returning the value]

}

Similar questions