Computer Science, asked by nani7256, 10 months ago

write algorithm for strong number​

Answers

Answered by ananya623
1

Answer:

Algorithm Paradigms ▻ ... Strong Numbers are the numbers whose sum of factorial of digits is equal to the original number. Given a ... C++ program to check if a number is.

I hope it will help you

Answered by Anonymous
0

Answer:

Input a number from user to check for strong number. ...

Initialize another variable to store sum of factorial of digits, say sum = 0 .

Find last digit of the given number num . ...

Find factorial of lastDigit . ...

Add factorial to sum i.e. sum = sum + fact .

i think my answer is correct

Similar questions