A number is called an armstrong number is it’s sum of nth power of individual digits is equal to that number. where n is the no. of digits in the number
example:-
153
in this number there are 3 digits so n=3
=1*1*1+5*5*5+3*3*3
=153
since it is equal to the number so it is an armstrong number