Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a grading program for a class with the following grading policies: 1. ther

ID: 3658630 • Letter: W

Question

Write a grading program for a class with the following grading policies: 1. there are two quizzes, each graded on the basis of 10 points. 2. there is one midterm exam and one final exam, each graded on the basis of 100 points. 3. the final exam counts for 50% of the grade, the midterm counts for 25%, and the two quizzes together count for a total of 25%. (do not forget to normalize the quiz scores. they should be converted to a percentage before they are averaged in.) Any grade of 90 or more is an A, any grade of 80 or more (but less than 90) is B, any grade of 70 or more (but less than 80) is a C, any grade of 60 or more (but less than 70) is a D, and any grade below 60 is an F. The program will read in the student's scores and output the student's record, which consists of two quiz and two exam scores as well as the student average numeric score for the entire course and final letter grade. Define and use a structure for the student record. C++ code,please.

Explanation / Answer

01 #include 02 using namespace std; 03 04 struct record 05 { 06 double quiz1; 07 double quiz2; 08 double midyear, midyear_one; 09 double final, final_one; 10 double quiz_average; 11 char final_grade; 12 double total_grade; 13 }; 14 void instructions(); 15 void input(record& the_grades); 16 void output(record& the_grades); 17 18 int main() 19 { 20 record grades; 21 instructions(); 22 input(grades); 23 output(grades); 24 cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote