Shapes Area Calculator. Use functions to write a C++ program that calculates the perimeter and the surface area or volum
Posted: Thu Jul 14, 2022 2:10 pm
Shapes Area Calculator. Use functions to write a C++ program that calculates the perimeter and the surface area or volume for the following figures: 1. Circle. 2. Rectangle. 3. Triangle. 4. Square. 5. Sphere. You should repeat the code at the end if the user entered ' 1 '. Output sample: The shapes are listed below: 1. Circle 2. Rectangle 3. Triangle 4. Square 5. Sphere Enter Choice ≫1 Enter radius ≫2 Perimeter =12.5664Area=12.5664 Repeat?