Friday, November 4, 2016

Uri 1011 - Sphere

#include

int main()
{
    int R;
    double r;
    scanf("%d",&R);

    r=(4.0/3)*3.14159*R*R*R;

    printf("VOLUME = %.3f\n",r);

    return 0;
}

No comments: