HW: Volume & Surface Area (Ex3-1, P.76)
Specification
Input: radius
Output: The volume and surface area of a sphere.
Relationship:
V = 4/3
π
r
3
A = 4
π
r
2
The program may run as follows:
R = ?
2.0
Volume = 33.510321638291124
Area = 50.26548245743669