Spy Number checking. A number is a Spy number, if sum and product of all digits are equal. Example: Number 123 is a Spy number, sum of its digits is 6 (1+2+3 =6) and product of its digits is 6 (1x2x3 = 6), sum and product are same, thus, 123 is a spy number.
Answers
Answered by
0
Answer:
Example Example Spy Number :-
- We observe that the sum and product of the digits both are equal. Hence, 1124 is a spy number. Similarly, we can check other numbers also. Some other spy numbers are 22, 123, 132, etc.
Similar questions