Skip to content

lfmramos/fibonacci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Recursive Fibonacci

This repository contains implementations of the Fibonacci sequence using recursion in Java, JavaScript and Python.

Java Implementation

The Java implementation is provided in the file Recursive_Fibonacci.java. It includes a class Recursive_Fibonacci with a method to compute Fibonacci numbers recursively.

Usage

To run the Java implementation, compile and execute the Recursive_Fibonacci class:

javac 
java Recursive_Fibonacci

This will print the first 10 Fibonacci numbers.

JavaScript Implementation

The JavaScript implementation is provided in the file recursive_fibonacci.js. It includes a function fibonacci to compute Fibonacci numbers recursively.

Usage

To run the JavaScript implementation, execute the recursive_fibonacci.js file in a Node.js environment:

node recursive_fibonacci.js

Python Implementation

The Python implementation is provided in the file recursive_fibonacci.py. It includes a function fibonacci to compute Fibonacci numbers recursively.

Usage

To run the Python implementation, execute the recursive_fibonacci.py file:

python recursive_fibonacci.py

License

This project is licensed under the MIT License.

About

Implementation of the Fibonacci sequence in different programming languages

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published