Write a JAVA program to input a number and print whether the number is a 'special
number or not. A number is said to be special number if the sum of the factorial of the
digits of the number is same as the original number.
Sample input: 145 is a special number 1! +4! +5! = 1+ 24+120 = 145 ( Where ! stands for
the factorial of the number is the product of all the integers from 1 to the number where
5!=1x2x3x4x5=120)
Answers
Answered by
0
Answer:
yessssssssssssssssssssssssssssssssssssssssss pls
Explanation:
Similar questions