class Oddorevennumber{public static void main(String[] args) { int n=10,r; r=n%2; if(r==0) System.out.println("Even numbers is: "+n); else System.out.println("Odd numbers is: "+n); }}
View all Questions