CCExtractor Development
Rust: Armstrong Numbers
(this exercise comes from the fantastic exercism.io website )
An Armstrong number is a number that is the sum of its own digits each raised to the power of the number of digits.
For example:
9 is an Armstrong number, because 9 = 9^1 = 9
10 is not an Armstrong number, because 10 != 1^2 + 0^2 = 1
153 is an Armstrong number, because: 153 = 1^3 + 5^3 + 3^3 = 1 + 125 + 27 = 153
154 is not an Armstrong number, because: 154 != 1^3 + 5^3 + 4^3 = 1 + 125 + 64 = 190
Write some code (in Rust, don't use any other language) to determine whether a number is an Armstrong number.
When you are done with the exercise, send us a link to the repository on gitHub
Task tags
Students who completed this task
ameliorater, DefinitelyNotAshnxious, knightron0, Oleg Gantumur, B#Minor, Lux, takitsuse, nklayman, kashparty, asmrvin, pinkleshake, Tantan4321, Manan, Trio Gempar, chirag_bali_gci, Marcel02, Musab Kılıç, Li, anurag, TimothyW553, Ayan, Kai16, AlephZero, Amy, Kiri487, msteknoadam, Olivia, PiranhaBytes, Krzysztof, Shitij, AlphaCoder007, MajesticHero, Pokemod97, Astroport, Manridh Kaur, Sachu, Techno-Disaster, Sanat, dhruv_snake_case, AJ, Terence Chan, PiyushCodez, Parth Shah, _anushka_, hassan, Chen81, kdrag0n, amanfauzan, KanarekLife, Zeki Gurbuz, Nils, theboss, Priyanshu Haldar, minebolt, Wionek, AvengingPrime, korneliuszw, cppio, ShridharS, Rishit Dagli, MikPie, Rayan Madan, Random, Infisanity, HINA KHADIM, Sudox, Jimmu Stonyay, Jerry Liu, dhrumilp15, Nalin Gabriel, Sam P, Ari, aggz, Jatin, MihirD