Question: Hi, This code has a student print their assignment, midterm and final mark and it calculates the GPA with respect to weightings. Final is worth

Hi,
This code has a student print their assignment, midterm and final mark and it calculates the GPA with respect to weightings.
Final is worth 30.
midterm is worth 30.
assignments is worth 30.
Formula = midterm mark *0.3 + final *0.3 + assignment mark *0.3. order doesnt matter.
and, if you do better on the final than the midterm your midterm mark is replaced by final mark.
Why is it that my code isnt performing the math correctly? and isnt formating correctly?
Hi, This code has a student print their assignment, midterm and final
mark and it calculates the GPA with respect to weightings. Final is
worth 30. midterm is worth 30. assignments is worth 30. Formula =
midterm mark *0.3 + final *0.3 + assignment mark *0.3. order doesnt

main.py 1 Enter letter grade for assignments: Enter letter grade for midterm 2 Can't receive better than D+. Actual output ? 1 Enter letter grade for assignments:Enter letter grade for midterm 2 Weighted GPA: 1.90 3 Can' t receive better than D+. Difference ? 1 Enter letter grade for assignments: Enter letter grade for midterm 2. HCan t receighve bettedn GPA than 40+.98 3 4 1 Enter letter grade for assignments: Enter letter grade for midterm 2 Weighted GPA: 3.4 Actual output ? ter grade for midterm: Enter letter grade for final:Weighted GPA: 3.10

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!