Volume of Sphere Calculator
Here, you will get the example code to find the Volume of Sphere whose Radius is 7 cm in c programming.
Definition of Sphere
Volume of Sphere Formula

Here, r is radius of sphere
Algorithm
Step 1: Input the radius of sphere.
Step 2: Calculate volume of sphere by using 4/3*3.14*r*r*r.
Step 3: Print the volume of sphere.
Find the Volume of Sphere whose Radius is 7 cm
| 1 2 3 4 5 6 7 8 9 10 11 12 13 | #include<stdio.h> #include<conio.h> #define PI 3.14159 void main( ) {    float vol,r;    clrscr();    printf(“\nEnter radius of Sphere :”);    scanf(“%f”,&r);    vol=(4*PI*r*r*r)/3;    printf(“\nVolume of Sphere is = %f”,vol);    getch(); } | 
Output
Enter radius of Sphere :7
Volume of Sphere is = 1436.753784
Check out our other C programming Examples
