C Program to print Armstrong Numbers Between Two User Entered Integers
Satish B
http://technotip.com/6607/c-program-to-print-armstrong-numbers-between-two-integers/
An Armstrong number is an n-digit base b number such that the sum of its (base b) digits raised to the power n is the number itself.
Example 1: If number = 153 It has 3 digits: 1, 5 and 3. So n = 3. result = 33 + 73 + 13 = 27 + 343 + 1 = 371. So the original number 153 is equal to the result. So it’s an Armstrong Number.
Example 2: If number = 1634 It has 4 digits: 1, 6, 3 and 4. So n = 4. result = 14 + 64 + 34 + 44 = 1 + 1296 + 81 + 256 = 1634. So the original number 1634 is equal to the result. So it’s an Armstrong Number.
C Programming Interview / Viva Q&A List http://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert http://technotip.com/6086/c-programming-beginner-to-advance-to-expert/ ... https://www.youtube.com/watch?v=lDc4Lx5-Ltc
9666694 Bytes