Question: For loop quastion Q1. Write a C++ program that check if a given number is a STRONG or NOT A Strong Number Is a number
Q1. Write a C++ program that check if a given number is a STRONG or NOT A Strong Number Is a number which the sum of the factorial of its digits equal to the original number. (1, 2, 145,40585) Ex 145 is a strong number because the sum of the factorial of its digits is equal to the number 1/ +41 +5! = 1+24+120 = 145 Where: 1|-1=1 41 5! 1 x 2 x 3 x 4 = 24 5 x 4 x 3 x 2 x 1 = 120
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
