// labFuncs.cpp for CPS 171 Practice with functions Updated Winter 2002 // your name #include#include #include using namespace std; const float PI = 3.14159f; // function prototypes go here int main() { cout << "Your name\n"; cout << showpoint << fixed << setprecision(2); float radius, cube, volume; // prompt user, get radius and echo data cout << "Please enter the radius of the sphere: "; cin >> radius; cout << "You entered a radius of " << radius << endl; // calculate the volume cube = radius * radius * radius; volume = 4 * PI * cube / 3; cout << "The volume is " << volume << endl; return 0; } // function definitions go here