Monday, August 8, 2011

A robot trapped in an "L" shaped room, doesn't know where the door is! How does he get out?

Robbie is a robot trapped in an "L" shaped room facing a wall that is some distance away. There is a door out of the room but Robbie does not know where the door is. Create a flowchart that will get Robbie out of the room regardless of where Robbie starts in the room or where the door is located.

No comments:

Post a Comment