C++: read integers from input and store each integer into a vector until o is read. do not store 0 into the vector. then, if the last value in
the vector is odd, output the odd values in the vector, each on a new line. otherwise, output the even values in the vector, each on
a new line. note: -5% 2 yields -1, whereas 5% 2 yields 1.
ex: if the input is -45 86 94 97 0, the output is:
3
-45
97