I have added a code to check for armstrong number in c++ language.
An Armstrong number is a number that is equal to the sum of its digits, each raised to the power of the number of digits in the number. For example, 153 is an Armstrong number because 1^3 + 5^3 + 3^3 = 153.
I have added a code to check for armstrong number in c++ language.
An Armstrong number is a number that is equal to the sum of its digits, each raised to the power of the number of digits in the number. For example, 153 is an Armstrong number because 1^3 + 5^3 + 3^3 = 153.