More work on loops
Create a class called Grades with a method called fixedAvg that
will take in grades until -1 is pressed. It will then find the avg
while dropping the lowest test score.
To be submitted - hwj7a - 4 point hw
Create a class called HWJ7a_Grades with a method
called passingAvg that will find the average of
all passing grades and keep track of the number of failing grades.
Take in grades until the user types in a negative grade (any negative
is the sentinel). It will then spit out the average of the passing
grades and the number of failing grades. IE
|