22.9 Who is where when: Question

Exercise: Who is where when

It is time to write the 'stay/3' predicate. Remember that it has the following signature:

stay(Person, Day, Place)

Go through the story, writing down all the information about who is where when. Use facts instead of rules. There are eight persons in the story, and five days to be accounted for, so you should write forty facts.


Click to see an answer.

Prev: Crime access
Up: 22 A Murder Mystery
Next: Motive