Strong number in CA number can be said as a strong number when the sum of the factorial of the individual digits is equal to the number. For example, 145 is a strong number. Let's understand through an example.
In the above code, the input data is retrieved from the user, and then the data is checked whether the input data is a strong number or not. Output
Output
Output:
Next TopicStar Patterns Program in C
|