Question 5
Write a java program to accept a number from the user and check it is Narcissistic number or
not.
(Narcissistic Number is a number that is the sum of its own digits each raised to the power of the
number of digits)
Example:
Input: 153
Output : yes
Explanation: 1^3+5^3+343=153
Input : 1634
Output : yes
Explanation: 1^4+6^4+3^4+4^4=1634
Answers
Answered by
0
Answer:qwwhsus sgasuisla hsyw sjsjhsgyxgsjssn s
Bzusbhshs
Explanation:
Idibdnznhzhs shszbzh zbzhs dhsbsunshzhhz zzhdndbdhdjd s dhs dhsns hsis
Similar questions