An ARMSTRONG NUMBER is a numberwhich is made up of N digits and which is equal t
ID: 3615992 • Letter: A
Question
An ARMSTRONG NUMBER is a numberwhich is made up of N digits and which is equal to the sum of eachdigit raised to the Nth power. Write a program to find allthe Armstrong numbers from 10 through 999999, inclusive. Print each of the numbers and the total number of Armstrong numbersfound. Follow *PRECISELY* the output format of the samplebelow.
Input
There is no inputrequired.
Output
The output of your programMUST look like this (except with the XX?s replaced by correctnumerical values):
ARMSTRONG NUMBERS FOUND FROM 10 THROUGH 999999
<blank line goes here>
XXX
XXX
XXX
XXX
XXXX
... (this means more numbers)
<blank line goes here>
TOTAL NUMBER OF ARMSTRONG NUMBERS FOUND WAS XX
ANY HELP APPRECIATED :)