Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PYTHON A certain CS professor gives 100-point tests that are graded on the scale 90-100:A, 80-89:B, 70-79:C, 60-69:D, <60:F. Write a program that accepts a

PYTHON

A certain CS professor gives 100-point tests that are graded on the scale 90-100:A, 80-89:B, 70-79:C, 60-69:D, <60:F. Write a program that accepts a list of test scores, introduced one by one, as input and uses a decision structure to calculate and print the corresponding grade. The program will stop asking for more integers when the user presses ENTER .(this is the part I don't know how to include in the programme)

Input: 15 , 60 , ENTER

Out: F, D

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

Accounting The Easy Way

Authors: Peter Eisen

2nd Edition

0812041879, 978-0812041873

Students also viewed these Databases questions