Switch statement prints

Write a c program that asks a student to enter his/her scotes in Test 1, Test 2, Test 3, and then using a switch statement prints a grade of A,B,C,D, or F based on the maximum score earned in either of the three tests