hi guys can help will prolog questions
1. Write the following two predicates without using arithmetic.
(a) Define a predicate mult3 length such that mult3 length(Xs) holds if
and only if Xs is a list and the length of Xs is a multiple of 3.
(b) Define a predicate ge5 length such that ge5...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.