Thread: Light switch question

  1. #1
    Registered User C_Coder's Avatar
    Join Date
    Oct 2001
    Posts
    522

    Light switch question

    There is room with a light bulb in it, there are no windows in the room. There is one door, the door has no window in it.
    Outside the room there are three light switch's, you cant see any wires or take them apart.
    Only one switch turns the light bulb on, how can you tell which one it is everytime.
    Oh and you can only open the door once and it closes automatically. The switch's are round a corner so you cant hold the door open and turn the switch's.

    This isn't to hard(can't be i figured it out).
    All spelling mistakes, syntatical errors and stupid comments are intentional.

  2. #2
    A Banana Yoshi's Avatar
    Join Date
    Oct 2001
    Posts
    859
    Turn one #1 for 2-5 min.
    Turn it off
    Turn on #2 and run to the other room.

    the lightbulb on is #2.
    the lightbulb hot is #1.
    nothing is #3.

    -------------------
    Engineer223
    Yoshi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data Structure Eror
    By prominababy in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 09:35 AM
  2. easy question about switch
    By zdzislavv in forum C++ Programming
    Replies: 4
    Last Post: 11-25-2008, 09:20 AM
  3. ascii rpg help
    By aaron11193 in forum C Programming
    Replies: 18
    Last Post: 10-29-2006, 01:45 AM
  4. I need help to compile this code...
    By wise_ron in forum C Programming
    Replies: 17
    Last Post: 05-07-2006, 12:22 PM
  5. switch() case 1: Question
    By Zero_X in forum C++ Programming
    Replies: 0
    Last Post: 04-18-2006, 12:33 PM