Let's write a program that checks how well a student has done in a class. Here's a look at the code.