help me please?
Write a program that uses a for statement to calculate and print the average of several integers. Assume the last value read is the sentinel 9999. A typical input sequence might be
10 8 11 7 9 9999indicating that the program should calculate the average of all the values preceding 9999.