WAP to check the input number is special number eg. 145=5!+4!+1 =1*2*3*4*5+ 1*2*3*4+1 = 120+24+1 =145
Published By : Sunita Chhetry
WAP to check the input number is special number eg. 145=5!+4!+1 =1*2*3*4*5+ 1*2*3*4+1 = 120+24+1 =145