Question: objective: The objective of this lab is to create a program to output multiple shapes on the screen based on the user's choice. Task List

 objective: The objective of this lab is to create a programto output multiple shapes on the screen based on the user's choice.Task List (2): Task 1: Create a shapes.cpp file and create thefollowing program. Create a program to print various shapes below on theterminal screen using characters or others, spaces, and new-line characters. First askthe user which shape to draw (cout the different options) and respond

objective: The objective of this lab is to create a program to output multiple shapes on the screen based on the user's choice. Task List (2): Task 1: Create a shapes.cpp file and create the following program. Create a program to print various shapes below on the terminal screen using characters or others, spaces, and new-line characters. First ask the user which shape to draw (cout the different options) and respond with an integer. Once the shape is drawn exit the program. 1. A horizontal line. Request the width of the line. 2. Repeated SOS. Print a repeating sequence of notice the space at the end). Request the number of times to repeat the SOS. 3. A filled-in square. Request the size (same height and width). 4. A filled-in rectangle. Request the width and height, in that order. 5. A framed rectangle. The outside should have characters and the inside should be empty (spaces) Request the width and height, in that order. 6. A framed rectangle with corners. The top and bottom should be made with characters, the right and left should be 'l', the corners should be and the middle should be empty (spaces). 7. A half filled-in rectangle. Request the width and height, in that order. This rectangle should have a solid border of with half the interior locations filled, and the others not. It is OK to not alternate rows. 8. A right-isosceles-triangle with the lower left filled in. Request the height. The width will be the same value. 9. A right isosceles-triangle with the upper left filled in. Request the height. The width will be the same value. 10. 10x10 Multiplication table. Print out a multiplication table where each column is 4 characters wide. Each shape should be created via a separate function, or if you can use functions, you may do so. For example a square is a special case of a rectangle

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!