Problem 58578. Check for armstrong number
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 commentsProblem Recent Solvers24
Suggested Problems
-
7460 Solvers
-
Return the first and last characters of a character array
11787 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
-
574 Solvers
-
the average value of the elements
2195 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!