91
Strong number in C
A 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.
- Program to check whether the number is strong or not.
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
- Program to print the strong numbers from 1 to n.
Output
- Program to find strong numbers in a given range.
Output:
Next TopicStar Patterns Program in C