Write a program to accept a number and check whether the number is divisih
by 3 as well as 5. Otherwise, decide:
(a) Is the number divisible by 3 and not by 5?
(b) Is the number divisible by 5 and not by 3?
(C) Is the number neither divisible by 3 nor by 5?
The program displays the message accordingly.
Answers
Answered by
1
Sorry, bro I don't no about Java program.
Similar questions