Check for armstrong number - MATLAB Cody - MATLAB Central

Problem 58578. Check for armstrong number

Difficulty:Rate
Given a number, check if it is an armstrong number.
Eg: n = 371
Output: 1
Eg: n = 75
Output: 0

Solution Stats

83.33% Correct | 16.67% Incorrect
Last Solution submitted on Jan 20, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
3
5

Problem Recent Solvers22

Suggested Problems

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!
Go to top of page