There are 100 doors and 100 people. The doors have two states (open/closed). All the doors are closed at first. Then the first person opens all the doors, the second person toggles (close if open or open if closed) the doors in multiples of 2 (e.G. Door 2,4,6..). The third person toggles the doors in multiples of 3 (3,6,9...). This continues until person 100 toggles the door 100. So in the end how many doors are open and how many are closed.
Answers
Answered by
0
50 Doors will be opened and 50 doors will be closed
Similar questions