I am writing a program to take a series of positive integers as input, and separately calculate and print the averages of the odd an even numbers, using a negative trip-value as end-of-data flag.
I can't figure out how to get the loop to return to the even series after jumping to the odd.
Any help would be greatly appreciated.
I can't figure out how to get the loop to return to the even series after jumping to the odd.
Any help would be greatly appreciated.