Java Series #2: If else Questions
If-Else Programming Challenges 1. Even or Odd Easy Problem Write a program to check if a number is even or odd. Input Format The first line contains a single integer n. Output Format Print Even if the number is even, otherwise print Odd. Sample Input 1 4 Sample Output 1 Even Code Copy Code import … Read more