oddeven(X) := 0 is mod(X, 2), write(even), nl.
oddeven(2).
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!