1.

Write a c++ program to find tne area and volume of sphere using formula are : area = 4*pi*r*r volume = 4/3*pi*r*r

Answer»

May this will HELP you:::::
#include
using namespace std;

int MAIN() {
int radius;
double AREA,volume;
cin>>radius;
area=(4*3.14)*radius*radius;
cout<<"area of sphere is:"< volume =(4.0/3)*3.14*radius*radius*radius;
cout<<"volume of sphere is:" return 0;
}



Discussion

No Comment Found