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: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:00
You turn your computer on and the computer will not boot up where is something you should do to diagnose the problem?
Answers: 1
question
Computers and Technology, 21.06.2019 22:40
Write an assembly program with the following specifications.a). in the main block, you should have two registers r4 and r5. they should be checked in an infinite loop. if r4 is greater than r5, then the greater subroutine will be called. if r4 is less than r5, then the less subroutine will be called. if r4 equals r5, then no operations will be done
Answers: 1
question
Computers and Technology, 22.06.2019 10:00
When is an original work considered public domain? a. when posted via social media b. when it is posted on the internet c. when a copyright symbol is not included with the piece of work d. when explicit permission is given by the author / owner
Answers: 1
question
Computers and Technology, 23.06.2019 21:00
Alcohol’s affects on the cornea and lens of the eye make it more difficult
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
English, 15.12.2020 22:10
question
Mathematics, 15.12.2020 22:10
question
Mathematics, 15.12.2020 22:10
question
Mathematics, 15.12.2020 22:10
question
History, 15.12.2020 22:10
question
Mathematics, 15.12.2020 22:10
Questions on the website: 13722359