22.10 Who is where when: Answer

Answer for "Who is where when"

The suggested way of answering this is as follows:

stay(Peter,monday,Copenhagen). 
stay(Peter,tuesday,Copenhagen). 
stay(Peter,wednesday,Odensee). 
stay(Peter,thursday,Copenhagen). 
stay(Peter,friday,flat). 
 
stay(Karen,monday,Odensee). 
stay(Karen,tuesday,Odensee). 
stay(Karen,wednesday,Odensee). 
stay(Karen,thursday,Copenhagen). 
stay(Karen,friday,flat). 
 
stay(Harry,monday,flat). 
stay(Harry,tuesday,Odensee). 
stay(Harry,wednesday,flat). 
stay(Harry,thursday,flat). 
stay(Harry,friday,flat). 
 
stay(Beth,monday,flat). 
stay(Beth,tuesday,Odensee). 
stay(Beth,wednesday,Odensee). 
stay(Beth,thursday,Copenhagen). 
stay(Beth,friday,flat). 
 
stay(Adrian,monday,flat). 
stay(Adrian,tuesday,flat). 
stay(Adrian,wednesday,Copenhagen). 
stay(Adrian,thursday,flat). 
stay(Adrian,friday,flat). 
 
stay(Hannah,monday,flat). 
stay(Hannah,tuesday,Odensee). 
stay(Hannah,wednesday,Odensee). 
stay(Hannah,thursday,flat). 
stay(Hannah,friday,flat). 
 
stay(Ben,monday,Copenhagen). 
stay(Ben,tuesday,Copenhagen). 
stay(Ben,wednesday,Odensee). 
stay(Ben,thursday,Copenhagen).
stay(Ben,friday,flat). 
 
stay(Marie,monday,flat).
stay(Marie,tuesday,Copenhagen). 
stay(Marie,wednesday,Copenhagen). 
stay(Marie,thursday,Copenhagen). 
stay(Marie,friday,flat).


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