Display program code

fib_bottomup.pl : Fibonnaci numbers (bottom-up)
Computes Fibonacci numbers by Bottom-Up Evaluation.
Fibonacci series is formed by adding the latest two numbers to get the next one.

How to use:
fib(N,M) is true if M is the Nth Fibonacci number.
To calculate the first N Fibonacci numbers, you enter upto(N)
and get fib(0,1), fib(1,1), .., fib(N,M).

Program: Change the code, then submit!

Console: Enter query or select example from below, then submit and wait for answer!

Select example query: 

WebCHR help - CHR Website - (c) Copyrights Martin Kaeser Uni Ulm 2007