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

Harshad number or not #347

Closed pallavivaswani closed 3 years ago

pallavivaswani commented 3 years ago

Feature ✅

Description

In mathematics, a Harshad number is a number that is divisible by the sum of its digits. Input consists of 1 integer. Example– Number is 21 it is divisible by own sum (1+2) of its digit(2,1) So it is Harshad number Some other Harshad numbers are 156,54,120 etc.

Example

Input: 111 Output: 111 is Harshad Explanation: 111/(1+1+1) = 37; since 111 is completely divisible by its digits, its Harshad

Checklist:

Contributors are supposed to mention their coding language while asking for assignment

Harshalszz commented 3 years ago

Hey! can I work on this in C++.

Himanshu-Nagle commented 3 years ago

@pallavivaswani Kindly please assign me

pratik-choudhari commented 3 years ago

@Himanshu-Nagle Language? @Harshalszz You have been assigned to 2 issues already, it is the max limit for this repo.

Ayushmanglani commented 3 years ago

Assign this to me for Python

AniketDGiri commented 3 years ago

hello, Could you please assign this to me for C++

kusumapriyankaajjarapu commented 3 years ago

Hi, I want to code it in Java. Could you please assignme.

Himanshu-Nagle commented 3 years ago

@Himanshu-Nagle Language? @Harshalszz You have been assigned to 2 issues already, it is the max limit for this repo.

@pratik-choudhari Kindly please assign me for C#

kusumapriyankaajjarapu commented 3 years ago

@pratik-choudhari Awaiting your response.

Hi, I want to code it in Java. Could you please assignme.

carolinejoseph commented 3 years ago

Hey, can I do this problem in C++?