Question: PROLOG Define a rule for checking if X and Y are cousins of the same generation, i.e., X and Y are descendents of a common

Define a rule for checking if X and Y are "cousins of the same generation," i.e., X and Y are descendents of a common person and both are same no. of links down from the common ancestor. Consider the following family tree: rigure 1: ramuy tree
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
