22.24 The murderer: Answer

Answer for "The murderer"

We will not tell you who the murderer is. But we will suggest how to write the murderer(X) predicate:

murderer(X) :- motive(X), access(X).


Prev: Relationships
Up: 22 A Murder Mystery
Next: 23 Blocksworld