22.4 Weapon access: Answer

Answer for "Weapon access"

The suggested way of answering this is as follows:

weapon_access(X) :- stay(X,thursday,Odensee).
weapon_access(X) :- stay(X,wednesday,Copenhagen).
weapon_access(X) :- stay(X,thursday,flat).
weapon_access(X) :- stay(X,wednesday,flat).


Prev: Introduction
Up: 22 A Murder Mystery
Next: Key access