Narcissistic Number Judgment

# Introduction In this challenge, we will determine whether a given number is a narcissistic number. A narcissistic number is a three-digit number in which the sum of each digit raised to the power of 3 is equal to the number itself. Your task is to complete a program that reads a three-digit number from the console and determines whether it is a narcissistic number. The program should display the result on the console as "N is a narcissistic number" or "N is not a narcissistic number", where N represents the three-digit number.

|60 : 00

Click the virtual machine below to start practicing