enter a number and check whether its a Krishnamurthy number or not | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

enter a number and check whether its a Krishnamurthy number or not

A number is said to be Krishnamurthy if the sum of factorials of its digits is equal to the number itself such that Input= 145 Output=true(1!+4!+5!=145)

11th May 2020, 5:38 AM
Chirantan Acharyya
Chirantan Acharyya - avatar
2 Answers
0
What is your question though?
11th May 2020, 5:50 AM
Frenchtoast
Frenchtoast - avatar
- 1
I think he has given a challenge in qna section
11th May 2020, 6:18 AM
Yash Jain
Yash Jain - avatar