write a program in Java using switch case to check whether a number is divisible by 3 or not
Answers
Answered by
0
This will be done using if...else statement and ternary operator in Java. ... Java Program to Check Whether a Number is Even or Odd ... If num is divisible by 2 , we print num is even.
yashraj4786:
but the question is not that
Similar questions
History,
6 months ago
Math,
6 months ago
Hindi,
6 months ago
Social Sciences,
1 year ago
Math,
1 year ago