I am currently learning prolog in a principles class and I am still not understanding how to incorporate if conditions. What we are having to do is if a numeric list is sorted, what values are missing. What I am doing is checking to see if the head+1 value is a member and if it is then place that value in a separate to be printed, if not then just continue down the list. Any ideas?
(I will continue to read on this)
This post has been edited by BBird40: 28 September 2011 - 06:01 PM