Question: code - C++ language only Problem 3 (40 points)-Write a program. Submit a file named shapes.cpp Create a program that continuously points for ring contes
Problem 3 (40 points)-Write a program. Submit a file named shapes.cpp Create a program that continuously points for ring contes 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 (12 points for each shape, toto! 36 points) must be available for display. If there is no shape information available, it should be indicated to the user points) Possible Sample Run 1 (your program does not have to match the following exactly. but should have the same functionality): Shapes! we 1. Shape: Triangle area=(base height)/2 2. Shape: Square area=length*length perimeter=4*length 3. Shape: Diamond Sorry, information for this shape is not available. 4. Shape: exit -3 shapes entered Exiting
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
