Hello friends!!!!!

Pgr to find volume of code

C LANGUAGE

Rishendra

9/15/20241 min read

#include <stdio.h>


int main() {


int n;


printf("Enter length of side of the cube : ");

scanf("%d", &n);


int vol = n * n * n;

printf("Volume of the cube: %dn", vol);


return 0;

}

Output :

Enter length of side of the cube : 4

Volume of the cube: 64

=== Code Execution Successful ===