Let a set be represented by a list of numbers. Write the following Prolog relations: - union(A,B,C) is true if the list C contains only even numbers in either lists A or B - intersection(A,B,C) is...


Let a set be represented by a list of numbers. Write the following Prolog relations:


-union(A,B,C) is true if the list C contains only even numbers in either lists A or B


-intersection(A,B,C) is true if the list C contains only even numbers in both lists A and B.




Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here