/*
Program#9
Volume of Sphere
*/
#include <stdio.h>
main(){
float r,p,c;
p=3.14;
printf("\nEnter value for r : ");
scanf("%f",&r);
c=(4.0/3.0)*p*r*r;
printf("\nVolume of sphere : %.2f\n",c);
}
/*
Program#9
Volume of Sphere
*/
#include <stdio.h>
main(){
float r,p,c;
p=3.14;
printf("\nEnter value for r : ");
scanf("%f",&r);
c=(4.0/3.0)*p*r*r;
printf("\nVolume of sphere : %.2f\n",c);
}