Turing 025b — The If Statement III

Assignment

Write a program that prompts for 5 grades between 0 and 100, then outputs the numerical average and the grade average (A = 80-100, B = 70-79.9, C = 60-69.9, D = 50-59.9, E < 50).

Write this program as efficiently as possible. (Think carefully about your approach!)

Save as "025b.t".