Problem Statement
In this challenge, you will write a program to find and print all Strong numbers within a given range.
What is a Strong Number?
A Strong number is a number where the sum of the factorials of its digits equals the number itself.
For example:
- 145 is a Strong number because: 1! + 4! + 5! = 1 + 24 + 120 = 145
- 2 is a Strong number because: 2! = 2
Task
Given two integers A and B, print all Strong numbers in the range [A, B] (inclusive), in increasing order, separated by spaces.
You must use nested loops to solve this problem.