Solution :
/Program Name : area of sphere with reading input /
#include<stdio.h>
#include<conio.h>
int main()
{
double radius, area;
scanf("%lf",&radius);
area= 4.0/3.0 * 3.14 * radius * radius *radius;
printf("%lf", area);
getch();
}
Program Analysis :
Post a Comment