In this chapter, we introduce C++’s
while control statements. We devote a portion of this chapter (and Chapters 5–7) to further developing the
GradeBook class. We add a member function that uses control statements to calculate the average of a set of student grades and we introduce C++’s assignment, increment and decrement operators.