TheAlgorithms / C-Plus-Plus

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
https://thealgorithms.github.io/C-Plus-Plus
MIT License
30.79k stars 7.29k forks source link

feat: Add implementation for Armstrong number check #2837

Open AmanxUpadhyay opened 1 month ago

AmanxUpadhyay commented 1 month ago

Description of Change

This pull request includes the addition of a new program to check if a number is an Armstrong number. The changes introduce a new file others/armstrong_number.cpp with the implementation details.

Checklist

Notes:

New features added: others/armstrong_number.cpp: Added a program to check if a number is an Armstrong number, including functions isArmstrong to determine if a number is an Armstrong number and printArmstrongResult to print the result.

github-actions[bot] commented 1 week ago

This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.