#include<stdio.h>
#include<conio.h>
int main()
{
float r,v,area;
printf("Enter the radius of the sphere\n ");
scanf("%f", &r);
area=4*3.14*r*r*r;
v=(4/3.14)*3.14*r*r*r;
printf("volume of the sphere=%f\n", v);
printf("area of sphere=%f\n", area);
getch();
}
#include<conio.h>
int main()
{
float r,v,area;
printf("Enter the radius of the sphere\n ");
scanf("%f", &r);
area=4*3.14*r*r*r;
v=(4/3.14)*3.14*r*r*r;
printf("volume of the sphere=%f\n", v);
printf("area of sphere=%f\n", area);
getch();
}