Question: Program Purpose Using Visual Studio 2017 create a CLR console application. Create a pro statements. Practice debugging, declaring variables, formatting output, decision statements, input/output, loops,

 Program Purpose Using Visual Studio 2017 create a CLR console application.Create a pro statements. Practice debugging, declaring variables, formatting output, decision statements,input/output, loops, and functions gram plan and then convert it into C++

Program Purpose Using Visual Studio 2017 create a CLR console application. Create a pro statements. Practice debugging, declaring variables, formatting output, decision statements, input/output, loops, and functions gram plan and then convert it into C++ Always bring to class 1. Gaddis' book, How-to handouts from Canvas and your class notes. 2. This assignment sheet & the grade sheet for this lab already printed out. 3. USB Flash drive(s) or other storage media. Mandatory Instructions Write a complete C++ program for the following program description. In this lab, you will draw a number of rectangles depending on user input utilizing a function that you will write. Draw rectangles using a function called draw rectangle(). The draw rectangle() function should draw (i.e., output to console window) ONE four (rows) x seven (columns) rectangle (i.e., rectangle that is empty inside). Implement this drawing by utilizing a nested loop and symbol. In the main function, your program should ask the user to enter the number of times the rectangle is to be displayed and then call the draw rectangle) function that specific number of times to draw the rectangle(s). Validate user input. Do not accept "hello" for input of times to repeat the shape. Do not accept any numeric value less than 1 or greater than 10. This needs to be implemented with two nested do while loops. Assume user will enter a number or they could enter a word like "hello" but no mixed input will be entered like "12hello". You program must include the function prototvpe and function definition for the draw_rectangle() function. Output Example: Enter the nunber of times you want to drau the rectangle: 3

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!