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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cainiskey

    generate possible lists

    Hello all, I'm new to this prolog business, and it's giving me real grief! This is the predicate I would like to write: Given a number X, find all possible lists of three integers that add up to X, ie addsTo(+X,-L). example: X = 3. i need to generate [0,0,3] [0,1,2] [1,1,1] I've written...

Part and Inventory Search

Back
Top