Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The subject is C++ Create a program that continuously allows a user to enter a 2D shape and output information about calculations for this shape.
The subject is C++
Create a program that continuously allows a user to enter a 2D shape and output information about calculations for this shape. The program should keep track of the number of shapes input by the user YOU decide what shapes and information are available for display (meaning programs may intake and output different information). A minimum of 3 shapes must be available for display. If there is no shape information available, it should be indicated to the user. **CREATE A SHAPE CLASS (DO NOT USE INHERITANCE TO CREATE OTHER SHAPES). The main should not be longer than a few lines (since most of the work will be done in the SHAPE class) our program does not have to match the following exactl Possible Sampl but should have the same functionalit e Kun 8ks Shapes! 1. Shape: Triangle area (base*height)/2 2. Shape: Square area length length perimeter-4?ength 3. Shape: Diamond Sorry, information for this shape is not available. 4. Shape: exitStep 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