Given the radius, in inches, and price of a pizza, design an algorithm to find the price of the pizza per square inch.
The volume of a sphere is
p r(4 .0/3.0) 3 and the surface area is
p r4 .0 2, 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 ∏= 53.141592.)