Question: Family. Tree Write a program in prolog that includes facts about your family and rules about family relationships (similar to our example in class). The
Family. Tree Write a program in prolog that includes facts about your family and rules about family relationships (similar to our example in class). The program should define the following facts for each family member: 1. Parents 2. Gender The program should define rules for the following family relationships: 1. Mother 2. Father 3. Child 4. Son 5. Daughter 6. Sibling 7. Brother 8. Sirter 9. Uncle 10. Aunt 11. Grandparent 12. Grandmother 13. Grandfather 14. Cousin
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
