Logo 
Search:

Artificial Intelligence Article

Submit Article
Comments on PROLOG PROGRAM TO SPLIT A LIST IN TWO LISTS SUCH THAT ONE LIST CONTAINS NEGATIVE NUMBERS AND ONE CONTAINS POSITIVE NUMBERS

PROLOG PROGRAM TO SPLIT A LIST IN TWO LISTS SUCH THAT ONE LIST CONTAINS NEGATIVE NUMBERS AND ONE CONTAINS POSITIVE NUMBERS.


Anuj Kalra
Anuj Kalra from IndiaApr 21
awesome program
modified it to separate even numbers
worked like a charm

but i'm new to prolog and do not understand how the code works!

could you please explain??
pretty pleeeaaaaaseee??????


Please enter your Comment
  • Comment should be atleast 15 Characters.
  • Please put code inside [Code] your code [/Code].