└── cube /cube: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | float side, volume; 7 | printf("Enter the length of a side: "); 8 | scanf("%f", &side); 9 | volume = pow(side, 3); 10 | printf("The volume of the cube is: %.2f", volume); 11 | return 0; 12 | } 13 | --------------------------------------------------------------------------------