Task 5: Putting it all together
int grade; // the grade being processed.
int count; // # of grades so far.
int sum; // sum of grades so far.
int high; // highest grade so far.
/* Print statistics on 0 or more grades in the range
0-100, followed by a stopping signal of -1. */
public class CUCSApplication
public static void main(String args[])
// Initialize Text object in to read
TokenReader in = new TokenReader(System.in);
and where statements are: