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, 23.06.2019 00:30
Pl i need the answer now ! which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
question
Computers and Technology, 24.06.2019 07:50
Write a defining table and then a program that determines if you can sleep in or not. your program should get all its input from your computer’s clock. on all weekdays (monday through friday) that are not holidays, your program should output “get up! ” on all other days (weekends and holidays), your program should output “sleep in.” the three holidays that your program must check for are january 1 (new year’s day), july 4 (u.s. independence day), and december 25 (christmas). you don’t need to include other holidays in your program because most other holidays do not occur on a fixed day each year.
Answers: 1
question
Computers and Technology, 24.06.2019 09:50
Self contained sequences of actions to be performed are? a. expressions b. algorithms c. functions d. formulas
Answers: 1
You know the right answer?
Program pattern#1: write an interactive program where two distinct “rectangular” shapes using the c...
Questions
Questions on the website: 13722367