Computers and Technology

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

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 15:20, manarhizam12
An ou structure in your domain has one ou per department, and all the computer and user accounts are in their respective ous. you have configured several gpos defining computer and user policies and linked the gpos to the domain. a group of managers in the marketing department need different policies that differ from those of the rest of the marketing department users and computers, but you don't want to change the top-level ou structure. which of the following gpo processing features are you most likely to use? a, block inheritance b, gpo enforcement c, wmi filtering d, loopback processing
Answers: 3
image
Computers and Technology, 23.06.2019 16:00, natasniebow
Kenny works with an it company. his company is about to launch new software in the market. he has to ensure that this new software is functional and meets all of the quality standards set up at the planning stage. which job profile is kenny likely to have? kenny is likely to have the job profile of a blank .
Answers: 2
image
Computers and Technology, 24.06.2019 04:30, LouieHBK
Fall protection, confined space entry procedures, controlled noise levels, and protection from chemical hazards are some of the things that contribute to a safe and
Answers: 1
image
Computers and Technology, 24.06.2019 07:40, daebreonnakelly
What type of multimedia are live news feeds? live news feeds are examples of multimedia.
Answers: 2
Do you know the correct answer?
Use nested for loops statements to draw hallow boxes of "*"s.

the boxes have the same nu...

Questions in other subjects:

Konu
English, 11.02.2021 08:20