/* sphereWeight.cpp computes the weight of a sphere, 
 * given its radius and density, using a class method.
 * By: Joel C. Adams, Summer 2001.
 * For: C++ An Introduction to Computing 3/e.
 *******************************************************************/

#include <iostream>
using namespace std;
#include "Sphere.h"

int main()
{
   cout << "To compute the weight of a sphere,\n"
        << " enter its radius and density: ";
   double radius, density;
   cin >> radius >> density;

   double weight = Sphere::computeWeight(radius, density);

   cout << "The sphere's weight is " << weight << endl;



   return 0;
}
