The program to print all the Armstrong numbers between the two intervals is discussed here. A number is said to be an Armstrong number when the sum of nth power of digit of the number is equal to the number itself.

Algorithm to print Armstrong numbers between two intervals@@coding::1@@
Time complexity: O(n)
Recommended Programs