Code Experts
Home
Challenges
Notes
Compiler
Forum
Exam
Contact
Sign in
Sign up
Home
Challenges
Notes
Compiler
Exam
Forum
Contact
Log In / Register
Copied To Clipboard !
Harshad Number
A number is said to be Harshad if it's exactly divisible by the sum of its digits.
# 7 + 5 = 12
# 75 is not exactly divisible by 12
Take a input a function that determines whether a number is a Harshad or not.
Code :
75
Total :
0 Discussion
Login
Code (Optional)
Upload Code Image (Optional)
Post Your Comment