fork download
  1.  
  2. even(N) :- (N mod 2 =:= 0.
  3. ->write('EVEN').
  4. ;write('ODD').
  5. ).
  6.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
even(4)
compilation info
prog.pl:2:27: syntax error: ) or operator expected
prog.pl:4:3: syntax error: . or operator expected after expression
prog.pl:5:2: syntax error: expression expected
	3 error(s)
compilation failed
stdout
Standard output is empty