subject
Computers and Technology, 18.03.2021 01:50 ugum

Write a program which takes an integer input, n, from the user and prints a rectangle with a height of n by printing asterisks inside a for loop. You can set the other side of the rectangle 10 for simplicity. So, your program should print 10 asterisks at the top, 10 asterisks at the bottom, two asterisks each side for other cases so that inside the rectangle can be empty. You can achieve this by using if statements inside a for loop. Here are some three sample runs with n values, 5, 6, and 8.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:20
What is the full meaning of rfid in computer
Answers: 2
question
Computers and Technology, 22.06.2019 20:40
Assume that there is a 4% rate of disk drive failure in a year. a. if all your computer data is stored on a hard disk drive with a copy stored on a second hard disk drive, what is the probability that during a year, you can avoid catastrophe with at least one working drive? b. if copies of all your computer data are stored on three independent hard disk drives, what is the probability that during a year, you can avoid catastrophe with at least one working drive?
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
I'll mark brainliest if answered right! with which feature or menu option of a word processing program can you make an image like this? you can get this image using the option of a word processing program.
Answers: 1
question
Computers and Technology, 24.06.2019 08:00
Java the manager of a football stadium wants you to write a program that calculates the total ticket sales after each game
Answers: 1
You know the right answer?
Write a program which takes an integer input, n, from the user and prints a rectangle with a height...
Questions
question
Mathematics, 21.01.2021 01:50
question
Mathematics, 21.01.2021 01:50
question
Mathematics, 21.01.2021 01:50
question
Mathematics, 21.01.2021 01:50