C-Plus-Plus icon indicating copy to clipboard operation
C-Plus-Plus copied to clipboard

feat: Add implementation for Armstrong number check

Open AmanxUpadhyay opened this issue 4 months ago • 0 comments

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

  • [x] Added description of change
  • [x] Added file name matches File name guidelines
  • [x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
  • [x] Relevant documentation/comments is changed or added
  • [x] PR title follows semantic 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:

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.

AmanxUpadhyay avatar Oct 14 '24 16:10 AmanxUpadhyay