Skip to content

Enhance comments and variable initialization in factorial.c#1572

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

Enhance comments and variable initialization in factorial.c#1572
swahathi wants to merge 1 commit intoTheAlgorithms:masterfrom
swahathi:patch-1

Conversation

@swahathi
Copy link
Copy Markdown

@swahathi swahathi commented May 2, 2026

Description of Change

Added explanatory comments to factorial.c to improve readability and help beginners understand the logic, including handling of large numbers using arrays.

References

N/A

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: Improved clarity of existing implementation without changing logic.

Added comments for clarity and improved code readability.
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