
A Narcissistic Number is a number which is the sum of its own digits, each raised to the power of the number of digits.
1 |
For example, take 153 (3 digits): |
The Challenge:
Your code must return true or false depending upon whether the given number is a Narcissistic number.
Error checking for text strings or other invalid inputs is not required, only valid integers will be passed into the function.
Answer:
1 |
|




近期评论