A user will input a sequence of positive integers ending with a sentinel -1. write a while loop hat counts the number of even and odd integers and prints the cumulative total. for example, if the input is 1 7 2 9, the program should print out 1 8 10 10 EVEN:1 ODD:3
↧