4 lines
72 B
Prolog
4 lines
72 B
Prolog
|
|
even(N) :-
|
||
|
|
(between(0, inf, N); integer(N) ),
|
||
|
|
0 is N mod 2.
|