Design an algorithm

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.)

WhatsApp
Hello! Need help with your assignments?

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

🛡️ Worried About Plagiarism? Run a Free Turnitin Check Today!
Get peace of mind with a 100% AI-Free Report and expert editing assistance.

X