Armstrong Number
Armstrong number is a number that is equal to the sum of cubes of its digits.
For example : 153, 370, 371 and 407 are the Armstrong numbers.
Let us take an example to understand Armstrong Number
153 = 13 + 53 + 33
153 = 1 + 125 + 27
153 = 153
Hence, 153 is Armstrong number.
Let's write a C Program to check a number is Armstrong or not.
0 Comments