Figure 2

Enter a grade or -1 to quit.
20.0
Enter a grade or -1 to quit.
40.0
Enter a grade or -1 to quit.
60.0
Enter a grade or -1 to quit.
-1
Average = 40
Figure 2