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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here