How can you tell the program tha variable X is has a certin type ...
This is actually the problem ...
3. Define a predicate is_between(X , Y , N) meaning "N is between X and Y" and working like in the example below (there is a predefined PROLOG predicate called between that has the same...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.