Even or Odd
Description
Welcome to your next problem. You've gotten pretty far through the training materials, haven't you. The problems only get harder, but many of these problems could be actual competition problems and some of them are. Good luck as you continue to work through the problems.
You need to know how to use modulus division to determine if a number is even or odd. How do you know if a number is even? If it's odd? What's your algorithm?
Input
The first line in the data file is the number of data sets to follow. Each data set contains one integer.
Output
The number and a statement saying it's even or odd.
Sample Input
4
1
-3
-2
4
Sample Output
1 is odd.
-3 is odd.
-2 is even.
4 is even.