| 1 | import java.util.Scanner; |
| 2 | |
| 3 | public class OddEven { |
| 4 | public static void main(String[] args) { |
| 5 | Scanner sc = new Scanner(System.in); |
| 6 | int num = sc.nextInt(); |
| 7 | |
| 8 | // if(num % 2 == 0){ |
| 9 | // System.out.println("even"); |
| 10 | // } else { |
| 11 | // System.out.println("odd"); |
| 12 | // } |
| 13 | |
| 14 | String ans; |
| 15 | ans = (num % 2 == 0) ? "even" : "odd"; |
| 16 | System.out.println(ans); |
| 17 | |
| 18 | } |
| 19 | } |
nothing calls this directly
no outgoing calls
no test coverage detected