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 17:20
[a] create a class called “cycle” which has two instance integer variables as properties, “numberofwheels” and “weight.” create a constructor with two parameters, using the same variable names in the parameter list. assign each variable to numberofwheels” and “weight” respectively. write a separate application to test the class and display its properties. note: do not change the names of the instance variables or the variables listed in the constructor’s parameter list. [b] edit your class cycle by adding a default constructor which will assign the default values of 100 to represent the numberofwheels, and 1000 to represent the weight, by invoking a call to the other constructor. modify your application created in [a] to test the class.
Answers: 3
question
Computers and Technology, 22.06.2019 22:30
Who needs to approve a change before it is initiated? (select two.) -change board -client or end user -ceo -personnel manager -project manager
Answers: 1
question
Computers and Technology, 23.06.2019 16:10
What is the ooh? a. omaha occupation handbook b. online occupational c. occupations online d. occupational outlook handbook select the best answer from the choices provided
Answers: 3
question
Computers and Technology, 23.06.2019 19:30
Amitha writes up a one-page summary of a novel during her summer internship at a publishing company. when she reads over the page, she realizes she used the word “foreshadow” seven times, and she would like to reduce the repetition. which tool would best amitha solve this problem?
Answers: 3
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
English, 13.04.2020 10:48
Questions on the website: 13722360