Please e-mail any questions, comments, or bugs to daniel.cer@cs.colorado.edu

<< Recent postings

Description: Code that uses an iterative algorithm to calculated the n-th fibonacci number, where by 'n' is specified by the user on the command line. This is a much more efficient way to calculate Fibonacci numbers than the previously posted 'Recursive Fibonacci'.

Languages: C, C++, Java, Perl, Python, Ruby, Octave(/Matlab like), Scheme, and Bourne shell.

Source files:
FibonacciIter.c [raw code], FibonacciIter.cc [raw code], FibonacciIter.java [raw code], FibonacciIter.pl [raw code], FibonacciIter.py [raw code], FibonacciIter.rb [raw code], FibonacciIter.m [raw code], FibonacciIter.scm [raw code], FibonacciIter.sh [raw code],

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.

Computers Blog Top Sites Blog Hub Blog Flux Directory