sujana-kamasany / javacodes

A repository that will guide in making your first contribution.
29 stars 111 forks source link

JAVA Program to check if the given value is spy number or not #82

Open sujana-kamasany opened 2 years ago

sujana-kamasany commented 2 years ago

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

TaeyeonRoyce commented 2 years ago

Please assign me! I'd like to solve this.

sujana-kamasany commented 2 years ago

Please assign me! I'd like to solve this.

Go ahead i have assigned you the issue

marcos96tavares commented 1 year ago

Please assign me! I'd like to solve this.

Aayush-Kapur commented 1 year ago

Hey @ sujana-kamasany , is this still open? If yes can you assign this to me?

sujana-kamasany commented 1 year ago

hey @Aayush-Kapur i am assign this to you please go ahead and submit your solution

Aayush-Kapur commented 1 year ago

Hey @sujana-kamasany , I've submitted a PR : #149 for the same. Can you please review.