Restrict discussion to the while loop

Except for the formulation of the conditional clause in the while loop, the program in Listing 6 program is identical to the previous program.

Therefore, I will restrict my discussion to the while loop as shown in Listing 4.