List/Grid Tag Archives: Plus Perfect Number
How to check whether a number is Armstrong Number in C
Armstrong Numbers are those numbers which are equal to the sum of its own digits each raised to the power of the number of digits in the number. Consider number 153, it has three digits, so length is 3. Now each digits raised to the power of the number of digits in the number : 13 = 1, 53 = 125, 33 = 27. Sum of these values : 1…