Question: 6.16 Lab while loop > CECS 174: Introduction to Programming and Problem Solving home > Ch6: 'while lopp - Grade using sentinel value E zyBooks
> CECS 174: Introduction to Programming and Problem Solving home > Ch6: 'while lopp - Grade using sentinel value E zyBooks catalog 6.17 Lab Ch6: "while loop" - Grade using sentinel value Write a program that computes the number of passing and failing grades, the average grade, the highest and lowest grades Grades are entered one at a time, and the system will keep on asking for Enter a grade or -1 to finish: until the sentinel value (-1) is entered. Display the results as The average grade is xx Number of passing grades is xx Number of failing grades is xx The maximum grade is xx The minimum grade is xx A grade is considered passing if it is 70 or higher. Valid grade values are from 0 to 100 You are to write this program using a while loop 0/3 LAB ACTIVITY 6.17.1: Lab Ch6: 'while loop. Grade using sentinel value grade_pass_fail.py Load default template
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
