Question: In python, Write a program that will take a grade between 100 and 0 zero and print the letter grade according to the scale: 90

In python,

Write a program that will take a grade between 100 and 0 zero and print the letter grade according to the scale:

90 or above is equivalent to an A grade

80-89 is equivalent to a B grade

70-79 is equivalent to a C grade

65-69 is equivalent to a D grade

64 or below is equivalent to an F grade

if user gives something other then integer or something that is not between 0 and 100 give an error and ask again.

Example run:

Enter the number grade: asd

Program only accepts integers between 0 and 100

Enter the number grade: 65

Your grade is D

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!