0
Prolog help
Consider the below portion of a Prolog program from class: female(mary). female(betty). male(tom). male(jim). male(alex). parent(tom, jim). parent(betty, jim). parent(tom, alex). parent(mary, alex). mother(M, C) :- parent(M, C), female(M). Draw (on a piece of paper, or using whatever software you please) then submit the derivation tree for the query: ?- mother(M, alex).
2 Respostas
+ 4
Is it your homework ?
0
Yes