Determining Harshad Number

# Introduction In this lab, you need to create a program that checks if a given number is a Harshad Number, meaning it is divisible by the sum of its digits, and prints "Harshad Number" or "Not a Harshad Number" accordingly.

|60 : 00

Click the virtual machine below to start practicing