Java program that prompts the user to enter an integer and checks whether the number is divisible by both 5 and 6, or neither of them, or just one of them.

Liang Introduction to Java Programming exercise 3.12 solution
Sample program run

Click here to see other solutions to Introduction to Java Programming.

Write A Comment