Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Rosetta Code Fibonacci Example

From rosettacode.org:

Code Examples

Using Recursion

Code to calculate fibonacci numbers using a recursion:







Using Loop

Code to calculate fibonacci numbers using a loop:







Supporting Negative Fibonacci Numbers

Code to calculate fibonacci numbers including negative ones using a loop: