// // sphere1.cpp // CSC 215 // John Rogers // // This program inputs the radius of a sphere, // computes its volume, and outputs it. // #include int main() { float radius; float volume; const float pi = 3.14159; cout << "Please enter the radius of the sphere: "; cin >> radius; volume = 4.0/3.0 * radius * radius * radius * pi; cout << "The sphere's volume is: " << volume << endl; return 0; }