Computer Science, asked by vishwass833, 7 months ago

. Write a java program to check whether the given number is Krishnamurthy
number(special number). It is a number which is equal to the sum of the
factorial of the digits.
Example:
145 is a Krishnamurthy number.
! + 4 ! +5! = 1 + 24 + 120 = 145.​

Answers

Answered by Anonymous
1

Answer:

If the sum of the factorial of all digits of a number is equal to the original number then the number is called Krishnamurthy Number. For example:- 145 and 40585 are Krishnamurthy numbers. 1 and 2 are also Krishnamurthy numbers because their factorials are equal to the same number. => 1!

I hope it will be helpful to you friend

Similar questions