countdown(0) :-write(0), nl,!.countdown :- write(X), nl,Y is X-1countdown(Y).
countdown(15).
prog.pl:7:1: syntax error: . or operator expected after expression 1 error(s) compilation failed
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!