Uri solution 1011 Sphere
#include<stdio.h>
#include<math.h>
int main()
{
double R,pi=3.14159,v;
scanf("%lf",&R);
v=(4.0/3)*pi*pow(R,3);
printf("VOLUME = %.3lf\n",v);
return 0;
}
#include<math.h>
int main()
{
double R,pi=3.14159,v;
scanf("%lf",&R);
v=(4.0/3)*pi*pow(R,3);
printf("VOLUME = %.3lf\n",v);
return 0;
}
Comments
Post a Comment