1 Odd or Even Easy if-else modulus (%)
Write a program that takes an integer as input and prints "Odd" if the number is odd, otherwise "Even". The program should work for both positive and negative integers.
7
Odd
Tip: Test with n % 2 == 0, not n % 2 == 1. In Java, -3 % 2 is -1, so the second check would wrongly call -3 "Even".