Skip to content

Comments

Improve error handling, readiability and input validation in fibonacci.c#1559

Open
AnushkaBhardwaj15 wants to merge 1 commit intoTheAlgorithms:masterfrom
AnushkaBhardwaj15:patch-1
Open

Improve error handling, readiability and input validation in fibonacci.c#1559
AnushkaBhardwaj15 wants to merge 1 commit intoTheAlgorithms:masterfrom
AnushkaBhardwaj15:patch-1

Conversation

@AnushkaBhardwaj15
Copy link

Updated error messages and input handling for the Fibonacci function.

Description of Change

-Improved variable naming for better readability
-Enhanced input validation
-Cleaned formatting and comments
###Reason:
These changes make the code more beginner-friendly and easier to understand.

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:

Updated error messages and input handling for the Fibonacci function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant