Hi,
Thanx a lot,
I almost did most of them.
Can you help me with these:
4. siblings(A,B): A and B are siblings (both parents in common)
9. ancestor(F,CS,N): F is the ancestor of the people in the list CS and N is the length of CS.
Hi everybody
I have a problem!
I have a file of prolog which I need to extend with some code.
----------------------------------
woman(anna).
woman(mia).
woman(eva).
woman(maja).
woman(nora).
woman(kim).
woman(elfrida).
woman(ana).
man(john).
man(peter).
man(erik).
man(ben).
man(ed)...
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.