-moz-user-select:none; -webkit-user-select:none; -khtml-user-select:none; -ms-user-select:none; user-select:none;

Sunday 5 April 2015

Fibonacci series in C++

Hello and Asalam o Alikum.I hope you all are fine by the grace of Allah Almighty.

Today I am here with another important program,"Fibonacci series" in C++.

Remember that a series of number in which each number is the sum of preceding two numbers is known as Fibonacci series(reference taken from www.programiz.com).
The example of Fibonacci series is:
1,1,2,3,5,8,13,21,34......
So,below is the source code of this program:

Source code

khgamujtaba,C++,finding fibonacci series

Output
khgamujtaba,C++,finding fibonacci series

1 comment: