pratik-choudhari / AlgoCode

Welcome everyone!🌟 Here you can solve problems, build scrappers and much more💻
https://github.com/pratik-choudhari/AlgoCode
MIT License
131 stars 166 forks source link

Added code to check HarshadNumber or not in Java #407

Closed kusumapriyankaajjarapu closed 3 years ago

kusumapriyankaajjarapu commented 3 years ago

Description

Added code to check HarshadNumber or not. A Harshad Number is a number divisible by the sum of it's digits. Eg: 111 is divisible by 3(1+1+1).

Reference Issue number #347

Type of change

Choosing one or more options from the following as per the nature of your Pull request. NOTE: Check boxes using [x]

Checklist:

kusumapriyankaajjarapu commented 3 years ago

Added code to check HarshadNumber or not in Java #347

pratik-choudhari commented 3 years ago

@kusumapriyankaajjarapu Refer all issues in PR desc.

kusumapriyankaajjarapu commented 3 years ago

@pratik-choudhari updated

pratik-choudhari commented 3 years ago

@kusumapriyankaajjarapu Why did you alter code of other 2 contributors?

kusumapriyankaajjarapu commented 3 years ago

Actually it's my first pull request. If I had done any wrongs please excuse me. But I haven't modified the code of other contributors

pratik-choudhari commented 3 years ago

@kusumapriyankaajjarapu You have already contributed and your PR is merged check here. Closing this.