Due:Thursday, 15 February.
There are five houses each of a different color (red, green, ivory, blue, and yellow) and inhabited by a man of a different nationality (Japanese, Englishman, Norwegian, Ukrenian, and Spaniard), with a different pet (horse, snails, zebra, fox, and dog), drink (water, coffee, tea, milk, and orange juice) and brand of cigarettes (Lucky stripe, Winston, Chesterfields, Kools, and Parliaments). Following is the available information.
To help you check your answer, the Smodels program should give the following assignment as its only answer set.
position | color | nationality | smokes | drinks | pet |
---|---|---|---|---|---|
1 (leftmost) | yellow | Norwegian | Kools | water | fox |
2 | blue | Ukrainian | Chesterfields | tea | horse |
3 | red | Englishman | Winston | milk | snails |
4 | green | Japanese | Parliaments | coffee | zebra |
5 (rightmost) | ivory | Spaniard | Lucky stripe | orange juice | dog |