Question: 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

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: exit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!