Author: nefari0uss
This program will request a maximum n
th value to reach in generating the Fibonacci sequence. It will display all terms generated less than or equal to the n
th term.
This version is iterative.
Formula:
F(n) = F(n-1) + F(n-2)
with seed values of F(0) = 0 and F(1) = 1.
- Use the given make file.
- Alternatively, compile:
$ javac Fibonacci.java
- Run:
$ java Pibonacci