Ad Code

Responsive Advertisement

1011 - Sphere

Author: Ismail Hosen

Daffodil International University





Problem Link

//Please follow from main function


#include<stdio.h>

#define PI 3.14159

int main()

{

    double R;



    scanf("%lf", &R);



    R*=R*R;



    printf("VOLUME = %.3lf\n", (4.0/3)*PI*R);



    return 0;

}

Post a Comment

0 Comments