|
Post by loyalgurl on Feb 6, 2006 10:31:57 GMT 5.5
hey guys is there any body who know prolog?? please help me with this small query :
I have to use the resolution rule to answer the goals :
:-even([1,2,3,4]) for a program "evenlen"
and
:-odd([1,2,3]) for a program "oddlen"
but I am not allowed to use the odd function for writing the evenlen program and even fn. for the oddlen...
guys a quick help is highly appreciated!! pleaseeeeeeee help me
|
|
|
Post by loyalgurl on Feb 7, 2006 5:43:32 GMT 5.5
hey guys thanks a lot if anybody tried.....! i figured it out!!
|
|