Header Ads

URI Online Judge | 1011 Sphere

#include<stdio.h>

int main()
{
    int R;
    double v, pi=3.14159;

    scanf("%d",&R);

    v=(4/3.0)*pi*R*R*R;

    printf("VOLUME = %.3lf\n",v);
    return 0;

}


1 comment:

Powered by Blogger.