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.
Explanation / Answer
please rate - thanks #include using namespace std; int main() {int sum=0,score,i,hw, tothw; double avg; char grade; for(i=0;iRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.