1.Write a program that ask the user to enter a series of numbers ending with -1. After the -1 is input, program should print how many numbers are even and how many numbers are odd. The test for even is that number % 2 == 0.
For this program, you'll need two accumulator variables - one to count the number of even numbers and one to count the number of odd numbers.
Where should the test for even-ness be?