Question: I need to solve the following question 3. Represent the following in Prolog (0.25 marks) - Create a rule brother which is true when two
I need to solve the following question
3. Represent the following in Prolog (0.25 marks) - Create a rule "brother" which is true when two persons are brothers. ANSWER: - Create a rule "cousin" which is true when two persons are cousins. ANSWER: - Create a rule "grandchild which is true when one person is the grandchild of another. ANSWER: - Create a rule "descendent" which is true when one person is the descendent of another
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
