Showing posts with label The Volume of Sphere Program. Show all posts
Showing posts with label The Volume of Sphere Program. Show all posts

Jan 30, 2013

The Volume of Sphere Program

/*The Volume of Sphere Program*/

#include"stdio.h"
#include"conio.h"
#define PI 3 .1416
void main();
{
clrscr();
float Radious,Sphere_Area,Sphere_Volume;
printf("Enter the value of Radious:");
scanf("%f",&Radious);?
Sphere_Area=4*PI*Radious:*Radious;
Sphere_Volume=(4/3)*PI*Radius*Radius*Radius;
printf("The Area of Sphere is=%f\n",Sphere_Area);
printf("The Volume of Sphere is=%f",Sphere_Volume);
getch();
}

Popular Posts