Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rookie in problems....

Status
Not open for further replies.

Morpheus1981

Programmer
Aug 9, 2001
105
CR
Please!, read my problem....

Jones, Smith and Clark work as: programmer, data base administrator and manager (Although that is no necesarly the order of their jobs). Jones borrowed from the programer $10. The wife of the manager does not let him lend money. And Smith is not married.
/* The program in prolog has to say works on what */
Now,
I am rookie on prolog and I am a little mixed up. My teacher suggests to use a double list(a list of list) to this. But I don't how to do it. Is there another way? And please say Yes!. Or at least give an idea. I now the problem, in a way, is very easy but to me it is most difficult thing I have ever done. So please help me!

I beg it!.
I'cleaned up room!

Before hand, I thanks all the help u can give me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top