fork download
  1. odd_or_even :- Y is mod(X/2).
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
?-odd_or_even(3).
compilation info
prog.pl:1: warning: singleton variables [Y,X] for odd_or_even/0
prog.pl:1: fatal error: unknown operation in arithmetic expression ((mod)/1)
compilation failed
stdout
Standard output is empty