write a java program using*if statement" for find if the number is even
Answers
Answered by
0
Answer:
Let's assume that the number is assigned to a variable named => n
(so the following is the statement):
if(n%2==0)
System.out.println("even");
else
System.out.println("odd");
HOPE THAT HELPED.
Similar questions