mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #1232] [MERGED] Update fibonacci.c #1825
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/1232
Author: @niranjank2022
Created: 3/9/2023
Status: ✅ Merged
Merged: 4/20/2023
Merged by: @Panquesito7
Base:
master← Head:master📝 Commits (10+)
19cf238Improve the documentation of factorial.c6496432Improve the documentation of fibonacci.c6c98363Update starting terms of fibonacci as 0 and 16465e90Update math/fibonacci.c5738231docs: Documenting the code2c0da3etest: Add test3ab82eaMerging the versions4139661fix: fix the test expression3c0fcaafeat: Restrict non-integer inputs0864082fix: Change atoi() to sscanf()📊 Changes
1 file changed (+113 additions, -12 deletions)
View changed files
📝
math/fibonacci.c(+113 -12)📄 Description
Description of Change
Included some documentation and modified the base condition and return data-type of fib() function.
Checklist
Notes:
I am a beginner. If I need to change or improve anything, kindly say. I would rectify it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.