0
By using while loop
Please anyone can help me to solve this problem???? You have to find which numbers are Strong numbers Strong numbers are the numbers whose sum of factorial of digits is equal to the original number Example: number is 145, so 1! + 4! + 5! = 1 + 24 + 120 = 145 Output should be Number is 145 Digit is 5 its factorial is 120 Digit is 4 its factorial is 24 Digit is 1 its factorial is 1 Digits Factorial sum is 145, so 145 is a strong number
1 Answer
+ 5
I don't think there are many strong numbers. Or my program is wrong.
https://code.sololearn.com/cfrH4NXWlK6J/?ref=app