Write the rule cousin1(Child1,Child2) that is true if Child1 and Child2 are ï¬rst cousins. 1See https://en.wikipedia.org/wiki/Cousin for more explanation 1 (b) [1 mark]…
Write the rule cousin1(Child1,Child2) that is true if Child1 and Child2 are first cousins.1See https://en.wikipedia.org/wiki/Cousin for more explanation1(b) [1 mark] Write the rule cousin2(Child1,Child2) that is true if Child1 and Child2 are second cousins.(c) [1 mark] Write the general rule cousin(N,Child1,Child2) that is true if Child1 and Child2 are Nth cousins. So cousin1(Child1,Child2) ≡ cousin(1,Child1,Child2) and cousin2(Child1,Child2) ≡ cousin(2,Child1,Child2) and so on for third and […]