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
|
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week