InterviewSolution
Saved Bookmarks
| 1. |
Write a program to accept a number and check whether it in a 'Spy Number of not. (A number i spy if the sum of its digits equals the product of its digita)SampleInput: 1124Sum of the digits - 1+1+2+4+=8Product of the digits - 1*1*2*4=8 |
|
Answer» #include |
|