-
Brain Teaser
A new student who wanted to find the main hall in a university came to a fork in the corridor. He saw a member of staff talking with a student. He knew that either the staff always tells lies and students tell the truth or vice versa. Given that the freshman has only one question what should he ask in order to determine the correct corridor?
Write a program which will work out the correct corridor given the response to the question.
CaptainChainsaw
-
"Would the other person tell me that the left way is the correct one?"
This is really not the forum for such things.
-
In other words....this is your homework, right?
-
Theres a movie called Labyrinth with that hottie Jennifer Connely that tackles this question.