algos icon indicating copy to clipboard operation
algos copied to clipboard

Create FibonacciNumber.cpp

Open CoderAayush2104 opened this issue 2 years ago • 2 comments

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}], not Update README.md or Added 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. fibonacci

CoderAayush2104 avatar Oct 07 '22 12:10 CoderAayush2104

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. fibonacci

CoderAayush2104 avatar Oct 10 '22 12:10 CoderAayush2104

Please merge my request.

CoderAayush2104 avatar Oct 15 '22 17:10 CoderAayush2104