Commit Graph

2 Commits

Author SHA1 Message Date
Niranjan 144442afba
[feat/docs]: improve the Fibonacci algorithm (#1232)
* Improve the documentation of factorial.c

* Improve the documentation of fibonacci.c

* Update starting terms of fibonacci as 0 and 1

* Update math/fibonacci.c

Co-authored-by: Sharon "Cass" Cassidy <122662061+CascadingCascade@users.noreply.github.com>

* docs: Documenting the code

* test: Add test

* fix: fix the test expression

Co-authored-by: Sharon "Cass" Cassidy <122662061+CascadingCascade@users.noreply.github.com>

* feat: Restrict non-integer inputs

* fix: Change atoi() to sscanf()

* fix: Change atoi() to sscanf()

* fix: scanf() to getInput()

* fix: while, continue and break

Co-authored-by: Sharon "Cass" Cassidy <122662061+CascadingCascade@users.noreply.github.com>

* fix: Increase buffer size

* fix: Doesn't accept lengthy characters

* fix: Accepts empty characters

* fix: fibonacci.c

Co-authored-by: Sharon "Cass" Cassidy <122662061+CascadingCascade@users.noreply.github.com>

* feat: Add wikipedia link

* feat: Add author

Co-authored-by: David Leal <halfpacho@gmail.com>

* feat: Record time duration of function execution

* chore: apply suggestions from code review

Co-authored-by: Sharon "Cass" Cassidy <monadicdiffusive@proton.me>

* chore: apply suggestions from code review

Co-authored-by: Sharon "Cass" Cassidy <monadicdiffusive@proton.me>

---------

Co-authored-by: Sharon "Cass" Cassidy <122662061+CascadingCascade@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Sharon "Cass" Cassidy <monadicdiffusive@proton.me>
2023-04-20 13:59:14 -06:00
Defective Detective 56b72da9fb
chore: move various `misc` folder... (#1177)
...algorithms to the `math` folder.

Co-authored-by: David Leal <halfpacho@gmail.com>
2022-12-22 11:26:50 -06:00