subject

Program pattern#1: write an interactive program where two distinct “rectangular” shapes using the character 'x' maybe displayed on the screen given user input of (a) two positive integers between 5 and 12 and (b) the users choice of "rectangular" display type. the two integer values (between 5 and 12) should be used to represent no# of columns (or width) and no# of rows (or height) to generate the respective shapes on the screen. if the numbers are different, the larger of the two numbers should be used for the height (ie, rows) and the smaller for the width (ie, columns). the user should have an opportunity to choose between the two shapes to be displayed and when to “quit” the program. using appropriate control structures (hint! nested while loops or for statements) write the necessary program statements that will display the desired shapes.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
What side length would you specify if you were required to create a regular hexagonal plate that was composed of 33 cm(squared) of sheet metal? dimension the side length to 0.1 cm
Answers: 2
question
Computers and Technology, 22.06.2019 21:10
Dameas communication challenge is due to which factor
Answers: 2
question
Computers and Technology, 22.06.2019 21:30
After you clean an engine with hot water spray, it seems to stall; when it doesn't stall, it's idling noisily. technician a says to check for loose bolts on the flex plate near the torque converter. technician b says to wipe down the spark plug wires and the distributor cap. who is correct? a. technician a b. both technicians a and b c. technician b
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
What are some ways to use a range name in a formula? check all that apply. in the defined names group, click use in formula, and then select the desired name. begin typing the name in the formula, select a name from the autocomplete list, and use the arrow keys and tab key to enter the name in the formula. begin typing the formula, and then click and drag with the mouse to select the cells to include in the formula. right-click one of the cells in the range. click formula options, and use the dialog box to add the name.
Answers: 1
You know the right answer?
Program pattern#1: write an interactive program where two distinct “rectangular” shapes using the c...
Questions
question
Mathematics, 05.04.2021 22:30
question
Arts, 05.04.2021 22:30
question
Mathematics, 05.04.2021 22:30
question
Arts, 05.04.2021 22:30
Questions on the website: 13722359