Question: This program allows for the user to chose a shape,size,and whether the shape is to be filled (solid) or hollow. Incorrect output should display an
This program allows for the user to chose a shape,size,and whether the shape is to be filled (solid) or hollow. Incorrect output should display an error message and allow the user to reattempt input. The program should give the user the option of printing another shape. (Program must be divided into a main.cpp, tools.cpp, and another .cpp for program functions.
The order of which you should work:
1. make a functions that allows for the user to chose the shape options such as:
a. square
b. right angle triangle pointing southwest
c. right angle triangle pointing southeast
d. right angle triangle pointing northwest
e. right angle triangle pointing northeast
f. right triangle pointing east
g. right triangle pointing west
h. right triangle pointing south
i. circle
2. call the appropriate shape printing function
3. be able to determine how big it should be by asking the size and whether is should be solid or not
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
