Javatpoint Logo
Javatpoint Logo

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

Strong number in C
  • Program to print the strong numbers from 1 to n.

Output

Strong number in C
  • Program to find strong numbers in a given range.

Output:

Strong number in C




Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA