Question: create a program that prompts for students final grades in a given class (the grades are integer values in the range 19) the program then

create a program that prompts for students final grades in a given class (the grades are integer values in the range 19) the program then displays the class grade average, the highest grade, and how many students in the class failed the course (grade less than 4 is a failing grade) if more than 10 students failed the course a message the teacher is mad is displayed at the very end an illegitimate input value for grade is used to indicate that there are no more students grades to be entered

Step by Step Solution

3.39 Rating (165 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

class Grade def initselfk selfkk def gradeAverageself Sum0 for ij in selfkitems Sum j avg... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!