//pgm to find the volume of a sphere
#include<iostream.h>
#include<conio.h>
void main()
{
float r,V;
clrscr();
cout<<"enter the radius of the sphere";
cin>>r;
V=(1.33*3.14*r*r*r);
cout<<"volume="<<V;
getch();
}
Please Click on ADS!!
Please Click on the above ads given by GOOGLE , so that I can maintain my blog!!
Tuesday, August 31, 2010
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment