/* This program computes the volume of a sphere.

   Input:  The radius of the sphere.
   Output: The volume of the sphere.
-----------------------------------------------------------------*/

#include <iostream.h>
#include <math.h>

int main(void)
{
   const double
      Pi = 3.1416;                     // the mathematical constant

   cout << "\nPlease enter the radius of a sphere: ";

   double
      Radius;

   cin >> Radius;


   double
      Volume = 4.0 * Pi * pow(Radius, 3.0) / 3.0;

   cout << "\nThe volume of that sphere is " << Volume << "\n\n";

   return 0;
}

