1.

Write a program to accept a number find and print whether the number is even or odd​

Answer» ASSUMING it is JAVA programmingint N=sc.nextInt() ;if(n%2==0) System.out.println("EVEN") ;elseSystem.out.println("ODD") ;


Discussion

No Comment Found