The I/O from sample program runs is as follows:
Script started on Fri Mar 18 10:16:19 2005 prompt >> prompt >> prompt >> java Sphere Please enter the sphere radius ------------------------------ Radius R: 1.0 Sphere: Radius = 1.0 Volume = 4.1887902047863905 prompt >> java Sphere Please enter the sphere radius ------------------------------ Radius R: 0.0 Sphere: Radius = 0.0 Volume = 0.0 prompt >> java Sphere Please enter the sphere radius ------------------------------ Radius R: 2.0 Sphere: Radius = 2.0 Volume = 33.510321638291124 prompt >> exit Script done on Fri Mar 18 10:16:45 2005