[OT] A Riddle

Peter Haworth pete at lcsql.com
Wed Dec 26 14:20:21 EST 2012


Folks,
I was presented with this logic puzzle, supposedly conceived by Albert
Einstein, over Christmas and am passing it on for your enjoyment and/or
frustration.  I'm assured there are no tricks and that the puzzle can be
solved by pure logic. Might be an interesting exercise to solve it with
Livecode;

There are 5 houses in a row
Each house is a different color.
In each house lives a person of different nationality
Each house owner drinks a different drink, smokes a different brand of
cigarette, and keeps a different pet

The question is who owns the Walleye Pike?

The clues are as follows.

   1. The Brit lives in the red house
   2. The Swede owns a dog
   3. The Dane drinks tea
   4. The green house is on the left of the white house
   5. The green house owner drinks coffee
   6. The owner who smokes Pall Malls keeps birds
   7. The owner of the yellow house smokes Dunhills
   8. The owner of the house in the center drinks milk.
   9. The man who smokes Blends lives next to the person who keeps cats
   10. The Norwegian lives in the first house
   11. The man who keeps horses lives next to the one that smokes Dunhills
   12. The owner who smokes Bluemasters drinks beer.
   13. The German smokes Princes
   14. The Norwegian lives next to the blue house
   15. The man who smokes Blends has a neighbor who drinks water.


Pete
lcSQL Software <http://www.lcsql.com>



More information about the use-livecode mailing list