cardel

Ejemplo II MDI LPO

Jan 4th, 2021 (edited)
1,259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 0.17 KB | None | 0 0
  1. %Hechos
  2. p('juanito').
  3. d('juanito').
  4. e('juanito').
  5. f('juanito').
  6. g('juanito').
  7.  
  8. %Reglas
  9. p(X) & d(X) & e(X) & f(X) => c(X).
  10. c(X) & g(X) => h(X).
  11. h(X) &  c(X) => $ans(X).
Add Comment
Please, Sign In to add comment