Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a C++ program that will prompt the user for the radius for 4 different circles. The formula to calculate the area of a circle
Write a C++ program that will prompt the user for the radius for 4 different circles. The formula to calculate the area of a circle is: area = PI * radius * radius Once the areas of the circles have been calculated to 2 decimal places, display the average circle area along with the circle with the largest area and the circle with the smallest area. The radius value entered must be between 1 - 10000 cm. Any value outside this range should be captured and allow the user one more attempt to enter the radius.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started