Horje
C++ Volume of a Sphere Code Example
C++ Volume of a Sphere
    	int rad1;
    	float volsp;		
        cout<<" Input the radius of a sphere : ";
    	cin>>rad1;
    	volsp=(4*3.14*rad1*rad1*rad1)/3; //3.14 is the pie
        cout<<" The volume of a sphere is : "<< volsp << endl;
        cout << endl;




Cpp

Related
how to print a word in c++ Code Example how to print a word in c++ Code Example
google snake game Code Example google snake game Code Example
three-way comparison c++ Code Example three-way comparison c++ Code Example
convert c++ to C language Code Example convert c++ to C language Code Example
c++ restrict template types Code Example c++ restrict template types Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10