Hi Friends ! You are on HR Developers website. Here you can find the codes of different languages like c ,c++ , java, pyton and many other languages.
#include <iostream>
using namespace std;
int main()
{
int radious;
float volsp;
cout<<"please enter the radious of sphere:";
cin>>radious;
volsp=(4*3.14*radious*radious*radious)/3;
cout<<"the volume of the sphere is:"<<volsp<<endl;
}
No comments:
Post a Comment