Question: 1 0 points ) Write the following statements in Prolog: a . If X is the father of Y , then X is an ancestor
points Write the following statements in Prolog:
a If X is the father of Y then X is an ancestor of Y
b If X is the brother of Y and Y is the father of Z then X is the uncle of Z
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
