Test #5

Tue NOV 24, 1998

C++ How to Program, by H. M. Deitel and P. J. Deitel

Teacher: Dr. B.J. Shrestha

Write a complete C++ program that uses an inline function sphereVolume to prompt the user for the radius of a sphere, and to calculate and print the volume of that sphere using the assignment volume = (4/3)*3.14159*pow( radius,3 ).