Print Strong Numbers From 1 To N C Program

C Program To Print Strong Numbers From 1 To N

Learn How To Print Strong Numbers From 1 To N in C Programming Language. Check if a Number is a Strong Integer not in C Programming using Functions, While and For Loops. It is important that we should know How A For Loop Works before getting further with the C Program. Strong Number makes use of the Factorial in C Programming.

What is a Strong Number?

A Number is said to be a Strong Number if the Sum of the Factorials of the Digits of a Number is equal to the Number itself.


145 = (1!) + (4!) + (5!)
40585 = (4!) + (0!) + (5!) + (8!) + (5!)

Must Read: C Program To Check if a Number is Strong Number

C Program To Print Strong Numbers from 1 To N

Must Read: C Program To Calculate GCD of Two Integers


C Program To Print Strong Numbers From 1 To N using For and While Loop
In case you get any Compilation Errors or any doubts in this C Program To Find Strong Integers, let us know about it in the Comment Section below.

Tushar Soni

I am Tushar Soni, Co - Founder of CodingAlpha. I am a computer science student from India and passionate about Web Development and Programming. Connect with me on Facebook | LinkedIn | Google Plus

2 thoughts on “Print Strong Numbers From 1 To N C Program

  • August 20, 2016 at 3:48 pm

    Such a simple and easy program for finding strong numbers between 1 to 100. Can we use a separate function for calculating factorial to make it more modular?

    • August 20, 2016 at 10:32 pm

      You can definitely make a separate function to calculate factorial in this c program to print strong numbers from 1 to N. This technique will make your code more readable and easy to debug.


Join The Discussion