Task 2: Count the grades
where
a : count = 0;
b : count = count + 1;
g : System.out.println( count );
/* “Process” grades until (but not including) a stopping signal of -1. */
int grade; // the grade being processed.
int count; // # of grades so far.