Skip to content

Latest commit

 

History

History
 
 

strong_number

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Strong number

Strong Numbers are the numbers whose sum of factorial of digits is equal to the original number. Given a number, check if it is a Strong Number or not.

Example:

Input : 145
Output : This is a strong number
1! + 4! + 5! = 145