|
| 1 | +# FIBONACCI SEQUENCE GENERATOR |
| 2 | + It's a program where we play with mathematical integers and operation to genarate a unique series. |
| 3 | + |
| 4 | +## **_Title_** |
| 5 | +To generate a seires called "Fibonacci Series" |
| 6 | + |
| 7 | +## **_What it is ?_** |
| 8 | +The Fibonacci numbers, commonly denoted Fn, form a sequence, called the Fibonacci sequence, such that each number is the sum of the two preceding ones, starting from 0 and 1. |
| 9 | + |
| 10 | +### _Explanation with the help of example :-_ |
| 11 | +Predefined, |
| 12 | + |
| 13 | +1st no.(F0) =0 |
| 14 | + |
| 15 | +2nd no.(F1) = 1 |
| 16 | + |
| 17 | +So the third number will be F2 = F0 + F1 |
| 18 | + |
| 19 | +Similarly the fourth number will be F3 = F1 + F2 ..........and so on |
| 20 | + |
| 21 | +## **_Overview / Description_** |
| 22 | + User will enter how many number they want in a series and whole series will be printed. |
| 23 | + |
| 24 | +## **_Workflow Steps_** |
| 25 | +1.)Firstly, the program will demand the number of terms u want to see in the series. |
| 26 | + |
| 27 | +2.)Starting two digits are predefined a1=0 and a2=1. |
| 28 | + |
| 29 | +3.)Now it will pass through the conditional statements :- |
| 30 | + |
| 31 | + a.) case1 : If the entered digit is less than or equal to zero |
| 32 | + |
| 33 | + b.) case2 : if the no. of digit is 1. |
| 34 | + |
| 35 | + c.) case3 : Finally user input a valid no. of digit . Now the algorithm will follow. |
| 36 | + |
| 37 | +4.) Entering in the while loop and following the commands for appropriate output. |
| 38 | + |
| 39 | + |
| 40 | +## **_Compilation Steps:_** |
| 41 | +1.) Run this program in a proper IDE e.g. Pycharm, VScode ,Jupyter notebook etc or any Online compiler like Repelit. |
| 42 | + |
| 43 | +2.) Enter the number of terms. |
| 44 | + |
| 45 | +3.) The output will show you the series. |
| 46 | + |
| 47 | +## **_Screenshot : _** |
| 48 | + |
| 49 | +### _CODE_ |
| 50 | + |
| 51 | + |
| 52 | +### _OUTPUTS_ |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | +## _For any query contact_: |
| 61 | + |
| 62 | +📧raisahab.p2001@gmail.com |
| 63 | + |
| 64 | +_** Author**_ |
| 65 | + |
| 66 | + Priyanshi Rai |
| 67 | + |
| 68 | + |
0 commit comments