Suppose that Prolog facts are used to define the predicates parent(P,X), man(X), and woman(X), which represent that P is the parent of X , X is a man, X is a woman, respectively. Give a Prolog rule to define the predicates a) brother(X,Y) b) uncle(X,Y) c) cousin(X,Y)
Plz like the answer
Get Answers For Free
Most questions answered within 1 hours.