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
-
198 Solvers
-
519 Solvers
-
Set the array elements whose value is 13 to 0
1438 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
103 Solvers
-
211 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!