Computer Science, asked by vishal3143, 1 year ago

write a program to accept a no. and check whether it is a special no or not eg =145 1!+4!+5!=1+24+120=145​


sambitmandal05: which programming language

Answers

Answered by rjgolu
2

Check whether a number is Special Number in JAVA. This program checks whether a number is a Special Number or not. A number is said to be special number when the sum of factorial of its digits is equal to the number itself. Example- 145 is a Special Number as 1!+4!+5!=145.

Similar questions