Hi,
This is my first assignment for Prolog:
I have to make sure that:
?- like(artos,oscar). is TRUE!
these are the statements:
(a) Artos is a dog.
(b) Dogs are fourlegged mammals.
(c) Dogs like little children.
(d) Oscar is a little child.
and these are my clauses:
dogs(artos)...
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.