// SphereDemo.cpp
// page 150 in Carrano
// g++ -c Sphere.cpp -o Sphere.o
// g++ SphereDemo.cpp Sphere.o
#include <iostream>
#include "Sphere.h"
using namespace std;
int main()
{
Sphere unitSphere; // radius
is 1.0
Sphere mySphere(5.1); // radius is 5.0
unitSphere.displayStatistics();
mySphere.setRadius(4.2); // resets radius to
4.2
cout << mySphere.getDiameter() <<
endl;
cout << endl;
return 0;
} // end main