Sphere and Cylinder classes

Write two classes, Sphere and Cylinder. The Sphere class takes a radius r as a parameter in the constructor, and Cylinder takes both a radius r and a height h as parameters in the constructor. Implement the classes listed here as appropriate for each object.

Then write CylinderTester and SphereTester to ensure that your classes perform as required.