The number in parentheses at the end of an exercise refers to the learning objective listed at the beginning of the chapter.
The volume of a sphere is (4.0/3.0)πr3 and the surface is 4.0πr2, where r is the radius of the sphere. Given the radius, design an algorithm that computes the volume and surface area of the sphere. Also using the C++ statements provided for Example 1-1, write the C++ statement corresponding to each statement in the algorithm. (You may assume that p = 3.141592.) (9)
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.