Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Case Studies In Business Data Bases

Authors: James Bradley

1st Edition

0030141346, 978-0030141348

More Books

Students also viewed these Databases questions