CSc600 – Homework #2: Prolog 2. Write a PROLOG program that investigates family relationships using lists. The facts should be organized as follows: m([first_male_name, second_male_name, …, last_male_name]). f([first_female_name, second_female_name, …, last_female_name]). family( [father, mother, [child_1, child_2,…, child_n]] ). e.g. m([tom, joe, peter, john]). f([ann, cathy, jane, kim]). family([john, ann, [tom,kim]]). family([joe, jane, [ ]]). 3.
The post CSc600 – Homework #2: Prolog appeared first on Essay Heroes.