Is the grade greater than or equal to zero?
(Display Listing 7.)
Each time the conditional clause is executed, it tests the value of the grade to confirm that it is greater than or equal to zero.
If not, the body of the loop is skipped and control passes to the code following the body of the loop.
This code is executed to compute and display the average grade as shown in Figure 10.
Figure 10. Report of average grade in program named Alice0175f.