Given a number, check if it is an armstrong number.
Eg: n = 371
Output: 1
Eg: n = 75
Output: 0
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers25
Suggested Problems
-
Return the first and last characters of a character array
11818 Solvers
-
7975 Solvers
-
352 Solvers
-
8305 Solvers
-
52 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!