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 Solvers23
Suggested Problems
-
Swap the first and last columns
21877 Solvers
-
7395 Solvers
-
Number of 1s in a binary string
10363 Solvers
-
5951 Solvers
-
602 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!