Write a program that prompts the user to enter an integer and determines whether it is divisible

Question:

Write a program that prompts the user to enter an integer and determines whether it is divisible by 5 and 6, whether it is divisible by 5 or 6, and whether it is divisible by 5 or 6, but not both. Here is a sample run of this program:

image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: