<reponame>asmitde/TA-PSU-CMPSC101<filename>Fall 2016/Homeworks/HW4/Solution/problem3.py
number = int(input("Enter an integer: "))

if number % 5 == 0 and number % 6 == 0:
    print(number, "is divisible by both 5 and 6")
elif number % 5 == 0 or number % 6 == 0:
    print(number, "is divisible by either 5 or 6")
else:
    print(number, "is not divisible by either 5 or 6")

2016/Homeworks/HW4/Solution/problem3.py
number = int(input("Enter an integer: "))

if number % 5 == 0 and number % 6 == 0:
    print(number, "is divisible by both 5 and 6")
elif number % 5 == 0 or number % 6 == 0:
    print(number, "is divisible by either 5 or 6")
else:
    print(number, "is not divisible by either 5 or 6")