Question: Python Program Question Write a simple Python program to calculate student's GPA. Requirements: 1) The program should prompt the user for how many courses to

Python Program Question

Write a simple Python program to calculate student's GPA. Requirements: 1) The program should prompt the user for how many courses to enter. 2) Based on the number course entered, the program should ask the user to enter a grade for each course entered. 3) The user can enter a letter grade of A to F. 4) If the user accidently enters a different alphabet letter or a number, the program should display a message saying "incorrect letter grade." 5) Based on the letter entered, the program should calculate the GPA for each course on the scale of 1.0 to 4.0 where A=4.0, B=3.0, C=2.0, D=1.0, F=0.0 6) After entering all courses, the program should also calculate the total GPA for all courses entered and display the overall GPA for the semester.

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!