Home > Logic > Liars and Knights
|Burger Buddies (Posted on 2003-11-27)
Three people decide to go out for burgers. They are either Knights, which always tell the truth, Knaves, which tell truths and lies in an alternating pattern, or Liars, which always tell lies.
They each want a burger, and want to get 4 toppings from the list of 7 (ketchup, mustard, onions, relish, tomato, cheese, lettuce) and give their order as follows:
A: I want ketchup, mustard, onions, lettuce, relish.
B: A wants tomato too, and he doesn't want mustard. I want ketchup, tomato, cheese, lettuce.
C: B doesn't want ketchup, and he doesn't want mustard. A doesn't want relish. I want mustard, tomato, cheese, lettuce.
After giving the orders to the burger cooker, he figures out what they want.(as anyone who can cook well must be really intelligent)
If all three people didn't all want a certain topping, what do the three people actually want as their four toppings on their burger?
(Note: I placed commas and periods to remind that each item/statement separated by commas is a separate statement.)
answer to the problem
Comment 18 of 18 |
Let us denote ketchup by K, Onion by N, Relish by R, Tomato by T, Cheese by C, Lettuce by L and Mustard by M.
Then the topping wanted by each of the three individuals are as follows::
A..................... K, N, R, T
B..................... K, T, C, L
C..................... M, N, R, C
Please log in:
About This Site
New Comments (0)
Top Rated Problems
This month's top
Most Commented On