javacodes
javacodes copied to clipboard
JAVA Program to check if the given value is spy number or not
Write a JAVA Program to find the given number is spy or not
A number whose sum of the digits of is equal to the product of its digits is called Spy number.
Example:- 132 The sum of digits = 1 + 3 + 2 = 6 The product of the digits = 1 * 3 * 2 = 6 Hence, 132 is a spy number.
Similarly, 1124 is also a spy number. The sum of digits = 1 + 1 + 2 + 4 = 8 The product of the digits = 1 * 1 * 2 * 4 = 8
Please assign me! I'd like to solve this.
Please assign me! I'd like to solve this.
Go ahead i have assigned you the issue
Please assign me! I'd like to solve this.
Hey @ sujana-kamasany , is this still open? If yes can you assign this to me?
hey @Aayush-Kapur i am assign this to you please go ahead and submit your solution
Hey @sujana-kamasany , I've submitted a PR : #149 for the same. Can you please review.