Write a program that determines a student\'s lettergrade . Allow the user to ent
ID: 3619083 • Letter: W
Question
Write a program that determines a student's lettergrade. Allow the user to enter three test scores. Themaximum score on each test is 100 points. Determine the lettergrade from the average of the test scores, using the followingchart:
90% or moreA
80% or more, but less than 90%B
70% or more, but less than 80%C
60% or more, but less than 70%D or F, to be determined from additionalinformation
less than 60%F
Only if the grade needs to bedetermined between D and F, allow the user to enter the number ofhomework assignments the student turned in, and the total number ofhomework assignments. If more than 90% of the homework assignmentswere turned in, the letter grade is D, otherwiseF.