URI Online Judge Solution 1011 - Solution in C




Solution in C

#include <stdio.h>
int main()
{
    double pi=3.14159,R,VOLUME;
    scanf("%lf",&R);
    VOLUME=(4/3.0)*pi*R*R*R;
    printf("VOLUME = %.3lf\n",VOLUME);
    return 0;
}





~~~~~~Happy Coding~~~~~~

No comments

Powered by Blogger.