New to programming and I'm my best to understand, the book is little to no help.
Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Design the following functions in the program:
determineGrade—This function should accept a test score as an argument and return a letter grade for the score (as a String), based on the following grading scale:
cout << "Please enter your score for Test 1.";
cin >> Test1
Set score1 = determineGrade (test1);
cout << "Your letter grade for Test 1 is" , score1
cout << "Please enter your score for Test 2."
cin>> test2
Set score2 = determineGrade (test2)
cout << "Your letter grade for Test 2 is" , score2
cout << "Please enter your score for Test 3."
cin>> test3
Set score3 = determineGrade (test3)
cout << "Your letter grade for Text 3 is" , score3
cout << "Please enter your score for Test 4."
cin>> test4
Set score4 = determineGrade (test4)
cout << "Your letter grade for Test 4 is" , score4
cout << "Please enter your score for Test 5."
cin>> test5
Set score5 = determineGrade (test5)
cout << "Your letter grade for Test 5 is" , score5
Set average = calcAverage (test1,test2,test3,test4,test5)
cout << "The average test score you made on all five are" , average
Set Finalgrade = determineGrade (average)
cout << "The average letter grade you have made is" , Finalgrade
End Module