Computer Science, asked by Anonymous, 8 months ago

code for spy number in java programming....answer fast

Answers

Answered by 1234gunjanagtawal12
0

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

PLEASE MARK ME AS BRAINLIEST

Similar questions