| 3 | import java.util.Scanner; |
| 4 | |
| 5 | public class Problem12 { |
| 6 | |
| 7 | public static void main(String[] args) { |
| 8 | // TODO Auto-generated method stub |
| 9 | |
| 10 | Scanner input = new Scanner(System.in); |
| 11 | int T = input.nextInt(); |
| 12 | |
| 13 | for (int i = 0; i < T; i++) { |
| 14 | int n = input.nextInt(); |
| 15 | System.out.println(evenodd(n)); |
| 16 | } |
| 17 | input.close(); |
| 18 | |
| 19 | } |
| 20 | |
| 21 | public static String evenodd(int n) { |
| 22 | String result = ""; |
| 23 | if (n % 2 == 0) { |
| 24 | result = "even"; |
| 25 | } else if (n % 2 != 0) { |
| 26 | result = "odd"; |
| 27 | } |
| 28 | return result; |
| 29 | } |
| 30 | |
| 31 | } |
nothing calls this directly
no outgoing calls
no test coverage detected