Answered step by step
Verified Expert Solution
Question
1 Approved Answer
NEED THIS SOLVED IN PYTHON 4. Develop a GPA Calculator in Python. The features that you need to include are: a. The student will input
NEED THIS SOLVED IN PYTHON
4. Develop a GPA Calculator in Python. The features that you need to include are: a. The student will input the letter grade and units (credit hours) for 3 courses b. The output should be the student GPA, based on his/her performance in the courses cif student GPA is below 2.2, show a message indicating that "Student is on Probation d. If student GPA is above 3.6, show a message indicating that "Student is on the Merit List" Extra checks: make sure the letter grade is correct ('A', 'B', 'C', 'D' or 'F'), also accept the same letters in small case (eg, 'a', 'b', 'c','d', ort) If the letter grade is incorrect, show an error message, and make the program exit without calculating the GPA the grade points for each grade are as follows: Grade A B D F Grade Points 4.0 3.0 2.0 1.0 0.0 An example of possible input and the expected output (round off to 2 decimal places): Enter the letter grade for course 1: A Enter the credit hours for course 1:3 Enter the letter grade for course 2: C Enter the credit hours for course 2:4 Enter the letter grade for course 1: B Enter the credit hours for course 1:4 Student GPA is: 2.91 Note: I have highlighted the possible input values by a user in yellow. Of course, we need to program for any possible choice of letter grades and credit hours. We expect credit hours to be an integer value (le, a whole number). (20 marks)Step by Step Solution
There are 3 Steps involved in it
Step: 1
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