Question
Write a program (python) that asks the user to first input how many grades they want to input (between 1 grade and 5 grades). After
Write a program (python) that asks the user to first input how many grades they want to input (between 1 grade and 5 grades). After that, the program will then ask the user to input that many grades (between 1-100) . It will then calculate the students average grade and what their letter grade is and print it.
After this, the program will then tell the student will calculate what grade the student will need to get on their next assignment in order to raise their grade to the next letter (C to B for example). If it is not possible to raise their grade, the program will tell them that. If they have an A already, then it will print a message stating they already have the highest grade possible.
Sample:
How many grades would you like to input? 2
Please input a grade: 85
Please input a grade: 87
Your average grade is a 86.0, which is a B.
To raise your grade to an A, you would need to get a 98 on the next assignment.
Sample 2:
How many grades would you like to input? 1
Please input a grade: 75
Your average grade is a 75.0, which is a C.
To raise your grade to a B, you would need to get a 85 on the next assignment.
Sample 3:
How many grades would you like to input? 5
Please input a grade: 100
Please input a grade: 98
Please input a grade: 96
Please input a grade: 94
Please input a grade: 92
Your average grade is a 95.0, which is a A.
You have the highest grade possible. Congrats!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Heres a Python program that implements the described functionality python def calculatelettergradeav...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started