URI Online Judge | 1011 Sphere Solution


Problem Link
URI Online Judge | 1011 Sphere Solution
#include<stdio.h>
int main()
{
    double R,pi=3.14159,ans;
    scanf("%lf",&R);
    ans=(4.0/3)*pi*R*R*R;
    printf("VOLUME = %.3lf\n",ans);
} 

No comments

Theme images by enjoynz. Powered by Blogger.