I'm new in prolog programming and i would like to get some help from you guys and gals.
I would like to know how to define the following predicate...
negave(L,X), that first eliminates all positive numbers from the list L and then finds the average of the remaining nagative numbers.
Hope i will get some response soon.
|