Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q5: (GPA Calculator) (20 points): Figure 3.8 in the textbook provides code that allows a user to enter a list of grades in number format,
Q5: (GPA Calculator) (20 points): Figure 3.8 in the textbook provides code that allows a user to enter a list of grades in number format, and then it displays the letter grade for the number and calculates the average grade for the class. Modify this code so that it becomes a GPA calculator. You will find the nested if..else if code example in the textbook on page 78 that also uses numerical grades to be very useful. Merge the two code examples of the textbook, adding some prompts for the amount of semester hours per grade, and some variables to keep up with total GPA points earned and total semester hours taken. Use the following chart of GPA point values: Number Grade Letter Grade GPA Points per Semester Hour 93-100 90-92 86-89 83 -85 80 - 82 76-79 73-75 70 72 66-69 63-66 60 62
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