Question: Write a program that asks your user to enter the height and width of a rectangle, and a character symbol. Also ask if the user
Write a program that asks your user to enter the height and width of a rectangle, and a character symbol. Also ask if the user wishes to see a "hollow" or a "filled" rectangle. Use the symbol to draw the specified rectangle. (Note: you will draw on only one rectangle when you ask the user for rectangle information. You'll get the info, draw the rectangle and ask if they wish to do another".) Your code should output the following: C:Documents and SettingsVClara My Documents11 TeachingNES 115 Computer Apptication. pter roblem 44 Rectang les hich rectangle vould you like to draw? Solid (filled) rectangle 2.Hollow rectangle nter 1 or 21 Enter the number of rows -=> 5 'n ter the number of colunns --> 10 &888&&8&8 &8888&888 8888&&&&8 &&&8&8&&&& &&&&8&&&8 Do Another?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
