
Postlab Activities
Exercise 1: Your history instructor gives three tests worth 50 points each. You can
drop one of the first two grades. The final grade is the sum of the best of the first two
grades and the third grade. Given three test grades, write a program that calculates the
final letter grade using the following cutoff points.
Score Letter Grade
>= 90 A
< 90, >= 80 B
< 80, >= 70 C
< 70, >= 60 D
< 60 F
Exercise 2: Write a program to determine if the digits in a three-digit number are all
odd, all even, or mixed odd and even. Your program should prompt the user to input a
three-digit number and echo-print the number. If the digits in the number are ...