/code_kata_armstrong_numbers

Armstrong Numbers: An Armstrong number is an n-digit number that is equal to the sum of the nth powers of its digits. Instructions Write a method that determines whether or not a given number is an Armstrong number.

Primary LanguageRuby

Armstrong Numbers

From Illuminations:

An Armstrong number is an n-digit number that is equal to the sum of the nth powers of its digits.

Armstrong Numbers - Illuminations

Instructions

Write a method that determines whether or not a given number is an Armstrong number.