algos
algos copied to clipboard
Create FibonacciNumber.cpp
Fixes #826
By submitting this pull request I confirm I've read and complied with the below declarations.
- [x] I have read the Contribution guidelines and I am confident that my PR reflects them.
- [x] I have followed the coding guidelines for this project.
- [x] My code follows the skeleton code structure.
- [x] This pull request has a descriptive title. For example,
Added {Algorithm/DS name} [{Language}]
, notUpdate README.md
orAdded new code
. - [x] This pull request will be closed if I fail to update it even once in a continuous time span of 7 days.
- [x] This pull request shall only be reviewed and merged once the Travis build passes. No maintainer or supporter shall be obliged to review it before this condition is met.
- [x] I have mentioned the issue number correctly (with hyperlink) in this pull request description.
The code is incorrect for the input N = 10 it should be 55 and not 34. It is a minor bug fix it. If you cannot then tell us we will help you.
Sir but for n = 10 answer is 34 as the series starts from 0. I have also attached the photo of the series.Please review my pull request.
Please merge my request.