After you define the RatingTable class as shown in Segment 1000, the testing program in Segment 987 produces the following table:
RatingTable