Advertisement
Guest User

Untitled

a guest
Feb 26th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. %This is the solution to 7.1, switching around the last 2 lines will result in 7.2
  2. summer(X):-happy(X).
  3. summer(X):-warm(Y).
  4. happy(b).
  5. warm(Y):-warm(Y).
  6. warm(a).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement