Input scores to get average and grade letter (in C)