3. Consider the following PROLOG program: a) like (ann, marlyn). like (joe,kate). like(ann, mary). like(kate,erica) like(erica,ann). male(joe) What is the first result (for A, B, and C) of the query: ?- like(A,B), like(B,C), not(male(A)). Consider the following predicate: Show transcribed image text 3. Consider the following PROLOG program: a) like (ann, marlyn). like (joe,kate). like(ann, mary). like(kate,erica) like(erica,ann). male(joe) What is the first result (for A, B, and C) of the query: ?- like(A,B), like(B,C), not(male(A)). Consider the following predicate:
Answer
like(ann,marlyn).
like(joe,kate).
like(ann,mary).
like(kate,erica).
like(erica,ann).
male(joe).
?-
OR
OR