how to avoid repitition in prolog

Posted by Pradeep on Stack Overflow See other posts from Stack Overflow or by Pradeep
Published on 2010-03-19T02:49:38Z Indexed on 2010/03/19 2:51 UTC
Read the original article Hit count: 255

Filed under:

i get several results with same outputs.

i want to get only jack,jane one time. but i get 2 times.

how to avoid it. i tried setof but i couldnt get it done. please can someone help me on this

© Stack Overflow or respective owner

Related posts about prolog