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

25th Apr 2018, 6:46 PM
Bilal
1 Resposta
+ 5
I don't think there are many strong numbers. Or my program is wrong. https://code.sololearn.com/cfrH4NXWlK6J/?ref=app
25th Apr 2018, 7:33 PM
Paul
Paul - avatar