Question: Have the program getthree gradesas input. Treat the grades as floating point values. Append the grades to a list called:grades Print the grades in the
Have the program getthree gradesas input. Treat the grades as floating point values.
Append the grades to a list called:grades
Print the grades in the following fashion. If the input is
88
76
91
The output will be
Your grades are
Test 1: 88.0
Test 2: 76.0
Test 3: 91.0
Find and display the average grade. Continuing with the input example above. The output will be:
Your average is: 85.00%
Find and display the lowest grade. Continuing with the input example above. The output will be:
Lowest grade is: 76.0
Remove the lowest grade and recalculate the average. Continuing with the input example above. The output will be:
Your average after removing lowest grade is: 89.50%
Apply a 5% increase to each grade and print the two remaining grades. Continuing with the input example above. The output will be:
Your grades after applying curve are
Test 1: 92.4
Test 2: 95.55
Recalculate the average after applying the increase. Continuing with the input example above. The output will be:
Your average after applying curve is: 93.97%
Here is a full example of the program running. If the input is:
78
92
84
The output will be
Your grades are
Test 1: 78.0
Test 2: 92.0
Test 3: 84.0
Your average is: 84.67%
Lowest grade is: 78.0
Your average after removing lowest grade is: 88.00%
Your grades after applying curve are
Test 1: 96.6
Test 2: 88.2
Your average after applying curve is: 92.40%
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
