subject

Use nested for loops statements to draw hallow boxes of "*"s.

the boxes have the same number of rows and columns and this number should be input from the user (valid range: 5 to 21).

sample output:

drawing hallow boxes program.

do you want to start(y/n)? y

how many rows/columns (5-21)? 25

out of range. reenter: 7



* *

* *

* *

* * *



do you want to continue(y/n)? y

how many rows/columns (5-21)? 5



* *

* *

* *



do you want to continue(y/n)? n

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
According to alisa miller foreign news bureaus
Answers: 3
question
Computers and Technology, 22.06.2019 22:00
What is a distinguishing feature of today’s graphic application software?) graphic applications are used today on a variety of devices, including touch-screen kiosks and mobile phones.
Answers: 3
question
Computers and Technology, 23.06.2019 08:00
Michael has written an e-mail to his employees that describes a new product special that will be introduced to the customers next week. by taking time to make sure the e-mail is well written, logical, and organized, michael has made sure his message has the characteristics of a) effective communicationb) ineffective communicationc) barriers to communicationd) workplace communication
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
Design a class tictactoe that: holds the following information about the game: two-dimensional array (3 by 3), and winner. add additional variables as needed. includes the functions to perform the various operations on objects. for example, function to print the board, getting the move, checking if move is valid, determining if there is a winner after each move. add additional operations as needed. includes constructor(s). write the functions of the class, and write a program that uses the class. the program should declare an object of type tictactoe. the program will create the board and store it in the array. the program will allow two players to play the tic-tac-toe game. after every valid move update the array, check if there is a winner. if there is no winner and no tie, then print the board again to continue.
Answers: 2
You know the right answer?
Use nested for loops statements to draw hallow boxes of "*"s.

the boxes have the same nu...
Questions
question
Social Studies, 20.07.2019 12:30
Questions on the website: 13722359