acm-mjct / Utilities

8 stars 86 forks source link

Create Fibonacci.js #166

Closed shehlayesha closed 2 years ago

shehlayesha commented 2 years ago

The code for Fibonacci series is written in JavaScript. The number of terms in the series is initialized. The first and second terms are also initialized as 0 and 1 respectively. The swap logic is applied to proceed further.