fork download
  1. read(X)
  2. even(X) :- print( 'even'), n1, fail)
  3. odd(X) :- print( 'odd'), n1, fail)
  4.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.pl:2:1: syntax error: . or operator expected after expression
	1 error(s)
compilation failed
stdout
Standard output is empty