subject

Aschool has 100 lockers and 100 students. all lockers are closed on the first day of school. as the students enter, the first student, denoted s1, opens every locker. then the second student, s2, begins with the second locker, denoted l2, and closes every other locker. student s3 begins with the third locker and changes every third locker (closes it if it was open, and opens it if it was closed). student s4 begins with locker l4 and changes every fourth locker. student s5 starts with l5 and changes every fifth locker, and so on, until student s100 changes l100. after all the students have passed through the building and changed the lockers, which lockers are open? write a program to find your answer and display all open locker numbers separated by exactly one space.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:40
Gabe wants to move text from one document to another document. he should copy the text, paste the text, and open the new document highlight the text, select the cut command, move to the new document, make sure the cursor is in the correct location, and select the paste command select the save as command, navigate to the new document, and click save highlight the text, open the new document, and press ctrl and v
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Ulia is planning to attend the same private four-year college her parents attended. she wants to save at least $18,000 in four years to contribute to her college education. which monthly deposit amounts can julia use to achieve her goal? check all that apply.
Answers: 2
question
Computers and Technology, 23.06.2019 02:00
Which software would you use to create a print design? a. illustrator b. audacity c. reaper d. dreamweaver
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
Brian wants to conduct an online search with a certain phrase. he intends to use the words books that belong to the 1800s in his search. how should he use the word that in his search?
Answers: 1
You know the right answer?
Aschool has 100 lockers and 100 students. all lockers are closed on the first day of school. as the...
Questions
question
Spanish, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Spanish, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
question
Mathematics, 10.09.2020 08:01
Questions on the website: 13722360