Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %Base del conocimiento
- matriculado("Juan","Calculo II").
- matriculado("Juan","Matemáticas discretas").
- matriculado("Pedro", "Calculo II").
- matriculado("Ana","Calculo III").
- matriculado("Erika","Calculo II").
- dicta("Efrain","Calculo III").
- dicta("Carlos","Matemáticas discretas").
- dicta("Duberney", "Calculo II").
- %Reglas
- profesorDe(P,E) :- dicta(P,S), matriculado(E,S).
Add Comment
Please, Sign In to add comment