Share your repls and programming experiences

← Back to all posts
test 3
SkillsOrange

Write a grading program for a class with the following grading policies: There are two quizzes, each graded on the basis of 10 points There is one midterm exam and one final exam, each graded on the basis of 100 points 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 percent 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 a 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, any grade below 60 is an F. The program will read in the student’s score (two quizzes and two exams) and output the student’s record, which consists of two quizzes and two exam scores as well as the student’s average numeric score for the entire course and the final letter grade. NOTE: 1) USE A WHILE LOOP TO CALCULATE THE GRADES FOR THE UNKNOWN NUMBER OF STUDENTS. 2) INPUT VALIDATION: DO NOT ACCEPT NEGATIVE NUMBERS FOR QUIZZES AND TESTS.

I am still on it but I wanted to share. May not be finished yet!