There is a closed room with a light in it. Outside, there are 3 light switches.
You can flick any of the switches any number of times.
You can only open the door and go into the room once.
You know that the light is initially off and you can't see what happens when you flick the switches.
How can you determine which light switch operates the light?