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 Rhinorhino 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: *

  • Users: 12071982
  • Content: Threads
  • Order by date
  1. 12071982

    find the median of a list

    Can anyone explain me how this routine works I want to know how routine understands if there is an even number of elements or odd number of elements. thanks median(!list,!median) median_2(!list,!list,!median) $clauses median(List, Median) :- median_2(List, List, Median). median_2([_]...
  2. 12071982

    disjoint in prolog

    Can anyone help me do such routine in prolog disjoint([1,2,3],[2,3,4],Ans) binds Ans to [1,4] thnx

Part and Inventory Search

Back
Top