- 3
write a programme in java to check wheather the number is even or odd
use int use if and else statment
2 Réponses
+ 3
int n=3;
if(n%2==0) System.out.println("Even");
else System.out.println("Odd");
+ 11
Do your homework yourself. It's very easy.
use int use if and else statment