Question: In this assignment, you will be writing a Python program that will do the following: 1. It will ask the user to keep entering final

In this assignment, you will be writing a Python program that will do the following: 1. It will ask the user to keep entering final grades of students until the user enters -1. Each grade will be out of a maximum of 100 points, and the program will prompt the user to enter the grades one after the other. 2. As the numbers are being entered, the program will be counting number of passing students separately and number of failing students separately. The passing grades are those that are 50 points are higher. 3. In the end the program will print output as follows: You entered 13 grades. 9 were passing and 4 were failing.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!