Determine the class average for a set of test grades, input by the user. The number of test grades is not known in advance (so the user will have to enter a special code -- a "sentinel" value -- to indicate that he/she is finished typing in grades).