subject

Your Principal at APCS High School is pretty mad at you all. There are 100 lockers in Hall C that were open and now some, but not all of them are locked. He does not want to have to send his Assistant Principal out to check 100 lockers. He heard that you are 4 of your friends had what you thought was some fun. All 100 lockers were Open (status O) and now some lockers are locked (status L). You found a master key on the floor and you had cards numbered 1 - 10. You chose a card and then locked the lockers in increments of that number (ex. you randomly chose 5 and then locked every 5th locker). Four of your friends came along and thought that was funny and so they randomly chose a card (you put your card back in the card stack) and then if the locker was open, they locked it but if it was locked then they unlocked it. Please see below: Please print the original array in 10 rows of 10 each. At this point, they should all show as O.

Choose a random number in the range of 1 - 10 and then re-print the new configuration of lockers with O's and L's in a 10X10 format.

Do this 4 more times.

With this list, your principal will forgive you and not call your parent...:)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
If an improvement creates no significant change in a product’s performance, then it is a(n) ? a0 design improvement. (there are no answer choices)
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
What is the power dissipated by a resistor with a current of 0.02 a and a resistance of 1,000 ? a. 200 w b. 20 w c. 0.4 w d. 4 w
Answers: 1
question
Computers and Technology, 23.06.2019 23:40
Which of the following calculates the total from the adjacent cell through the first nonnumeric cell by default, using the sum function in its formula? -average -autosum -counta -max
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
Answers: 1
You know the right answer?
Your Principal at APCS High School is pretty mad at you all. There are 100 lockers in Hall C that we...
Questions
question
Mathematics, 27.07.2019 09:10
Questions on the website: 13722363