Write a program to accept a number and check whether the number is divisible
by 3 as well as 5. (Use Scanner class) Otherwise, decide:
a) Is the number divisible by 3 and not by 5
b) Is the number divisible by 5 and not by 3

Answers & Comments


Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.