0
2.7kviews
Write a function to check whether the given number is Armstrong number or not.
written 8.3 years ago by | modified 2.8 years ago by |
An Armstrong number is a number in which sum of cube of its all digits is equal to number itself. For example 371 is an Armstrong number, since $3^3 + 7^3 + 1^3 = 371$. Use an\bove function to generate all Armstrong numbers between 1 to 1000.
ADD COMMENT
EDIT
1 Answer