Shapes Area Calculator. Use functions to write a C++ program that calculates the perimeter and the surface area or volum
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Shapes Area Calculator. Use functions to write a C++ program that calculates the perimeter and the surface area or volum
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?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!