Skip to main content

Coding Problem: Fibonacci Series

Problems based on Fibonacci Series:

0, 1, 1, 2, 3, 5, 8, 13, 21 ,34, 55, 89, 144 .........
First=0
Second=1
Third= 0+1= 1 Sum of Previous 2 values
Fourth= 1+1= 2
Fifth= 1+2= 3
Sixth= 2+3= 5
And so on.....

Print the Nth term of the fibonacci series:

Print N terms of fibonacci series: