fib(0, 1):-!.fib(1, 1):-!.fib(N, W) :- fib (N - 1, W) + fib (N - 2, W).
Standard input is empty
prog.pl:3:18: 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!