# 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: