Strong Number in C program

Strong Number in C

Here you will know about strong number and get the program source code of strong number in c programming.

What is Strong Number in C

Strong number is one that is the sum of the factorials of all of its digits.

For example: 145 is a strong number

Factorial of 1 = 1

Factorial of 4 = 24

Factorial of 5 = 120

1 + 24 + 120 = 145 Therefore, 145 is a strong number.

Strong Number in C program

Output 1

Enter a number: 40585
40585 is strong number.

 

Output 2

Enter a number: 158
158 is not strong number.

 

 

Check out our other C programming Examples

 

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top