Armstrong Number - Java Programme to find Armstrong Number.



This java program checks if a number is Armstrong or not. Armstrong number is a number which is equal to sum of digits raise to the power total number of digits in the number. Some Armstrong numbers are: 0, 1, 4, 5, 9, 153, 371, 407, 8208 etc.

Programme :

Output :
Enter any Number to Check if it is Armstrong or not
153
Entered number is an Armstrong Number


Follow me on:

Comments