technotip.com/6...
Lets write a C program to check whether user entered number is strong number or not, using nested while loop.
Strong Number: Sum of factorial of a number’s individual digits should be equal to the number itself. Such a number is called Strong Number.
For Example: If user entered number is 145. We find factorial of individual digits of 145 and add it.
i.e., !1 + !4 + !5
(1) + (24) + (120) = 145
So the original number and the sum of factorials of individual digits are both 145. So number 145 is considered as a Strong Number.
C Programming Interview / Viva Q&A List
technotip.com/6...
C Programming: Beginner To Advance To Expert
technotip.com/6...
Негізгі бет C Program To Find Strong Number
No video
Пікірлер: 5