0
Can anyone tell me how to write a program in java to identify that is it a spy number or not for 'four' digit number
2 odpowiedzi
0
Spy number means product of digits=sum of digits
Use a while loop to break the digits and multiple them and sum up them. And check the sum and product's equality.
If still you are confused then I will provide you the answer. And try to post your code's link too
0
Ok thanks