Integers
write a program that reads integers until 0 is entered. after input terminates, the program should report the total number of even integers (excluding 0) entered, the average value of the even integers, the total number of odd integers entered, and the average value of the odd integers.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Sep 10, 2014, 4:43 AM EDT