Understanding prolog [lists]?

The and operators don't instantiate their arguments, and you can only use them once the arguments have already been instantiated.

You could use library clpfd for you problem. :- use_module(library(clpfd)). PLeap(L,H,X,Y) :- X in L..H, Y #= min(H, X+1), label(X).

Here is the output:? - pLeap(2,5,X,Y). X = 2, Y = 3 ; X = 3, Y = 4 ; X = 4, Y = 5 ; X = 5, Y = 5.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions