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

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? "C:Documents and SettingsClaralMy Documents\1-TeachingES 1 1 5 Computer Application. . . 88&8&&&88 Do Another? yes or no yes hich rectangle would you like to draw? Solid -->6 Enter a #ynhol for drawing C&- %, --> % 2 AxKKAAK Do Another?

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!