Pythons coding help for school

Job ID: 33825430

Budget: $10 – $30 USD

GPA calculator

A university’s recognizes graduates with high GPA’s in different honors categories with the following cutoffs:

summa cum laude 3.8
magna cum laude 3.6
cum laude 3.2
A 2.0 GPA is needed to graduate. Students with less than a 2.0 are not eligible for graduation.

Each letter grade is worth points.

A - 4.0
B - 3.0
C - 2.0
D - 1.0
F - 0.0
GPA is calculated by adding up all the points for each grade and then dividing by the total number of scores. For instance if you took 4 classes and scored B, A, A, C that would be worth 3 + 4 + 4 + 2 = 13 points for a GPA of 13 / 4 = 3.25.

Create a Python application that asks the user to enter four letter grades and then prints out the student’s GPA and then determines and displays the student’s graduation status.

Some Pointers:

If the student has a GPA between 3.2 and 3.6, the program should display that the student is a cum laude student.
If the student has a GPA between 3.6 and 3.8, the program should display that the student is a magna cum laude 3.6 student.
If the student has a GPA between 3.8 and 4.0, the program should display that the student is a summa cum laude student.
If the student has a GPA is below 2.0, the program should display that the student cannot graduate.
If the student has a GPA between 2.0 and 3.2, the program should display that the student is eligible to graduate.
You should use a loop and branching logic.
An example of a correctly running program might look like this:

Enter a grade:
B
Enter a grade:
A
Enter a grade:
A
Enter a grade:
C
GPA is 3.25
Student can graduate cum laude
Related categories: Coding Lesson