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 |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India