Write a C+ + program that computes the area and perimeter of aspecified shape
(either rectangle, triangle, or circle). The user should be prompted for therelevant
input (type of shape anddata associated with that shape). See the examplebelow.
Enter the shape type (1 forrectangle, 2 for triangle, 3 for circle)
1
Enter the width
2
Enter the height
3
The perimeter of the rectangleis 10 and the area is 6.
+4
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a C+ + program that computes the area and perimeter of aspecified shape (either rectangle, triangle, or circle). The user should be ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Home » Computers & Technology » Write a C+ + program that computes the area and perimeter of aspecified shape (either rectangle, triangle, or circle). The user should be prompted for therelevant input (type of shape anddata associated with that shape). See the examplebelow.