[PR #638] Added perfect numbers in a range algorithm #1099

Open
opened 2026-01-29 15:17:32 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/TheAlgorithms/C/pull/638

State: closed
Merged: No


Description of Change: Added c program to find perfect numbers in a given range which was previously not there.

References: Definiton of a perfect number -https://en.wikipedia.org/wiki/Perfect_number#:~:text=In%20number%20theory%2C%20a%20perfect%20number%20is%20a,%3D%206%2C%20so%206%20is%20a%20perfect%20number.

Checklist

  • Added description of the 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: All done

**Original Pull Request:** https://github.com/TheAlgorithms/C/pull/638 **State:** closed **Merged:** No --- #### Description of Change: Added c program to find perfect numbers in a given range which was previously not there. <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References: Definiton of a perfect number -https://en.wikipedia.org/wiki/Perfect_number#:~:text=In%20number%20theory%2C%20a%20perfect%20number%20is%20a,%3D%206%2C%20so%206%20is%20a%20perfect%20number. <!-- Add any reference to previous pull-request or issue --> #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [X] Added description of the change - [X] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [X] Added tests and example, test must pass - [X] Relevant documentation/comments is changed or added - [X] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [X] Search previous suggestions before making a new one, as yours may be a duplicate. - [X] I acknowledge that all my contributions will be made under the project's license. Notes: All done<!-- Please add a one-line description for developers or pull request viewers --> <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/638"><img src="https://gitpod.io/api/apps/github/pbs/github.com/m607stars/C.git/421f66a5a001ac58ab777f71eab237015426d118.svg" /></a>
claunia added the pull-request label 2026-01-29 15:17:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1099