Computer Science, asked by naazpreet13, 2 months ago

WAP to calculate the volume of sphere, radius to be input with main() method​

Answers

Answered by venomgirl8
1

Answer:

C Program

int main()

{

int radius=48;

float pie=3.14285714286;

double volume=(4.0/3.0)*pie*(radius*radius*radius);

printf("Volume of the sphere=%f",volume);

}

Similar questions