Question: C. Circle Draw a flowchart for this program and then write the C++ code. Write a program that prompts the user for a radius r,
C. Circle Draw a flowchart for this program and then write the C++ code. Write a program that prompts the user for a radius r, and then prints . The area and circumference of a circle with that radius. . The volume and surface area of a sphere with that radius. Display the radius value and the results in a clear format. Here are the formu lae (assume -3, 14): For a circle, circumference-2 r area II r2 For a sphere, volume = 4 surface area r3/3 4 IIr2 Test the results of your program for a circle and sphere with a radius of 7.5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
