Answered step by step
Verified Expert Solution
Link Copied!

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,

image text in transcribedimage text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Next Generation Databases NoSQLand Big Data

Authors: Guy Harrison

1st Edition

1484213300, 978-1484213308

More Books

Students also viewed these Databases questions

Question

How many multiples of 4 are there between 10 and 250?

Answered: 1 week ago

Question

2. How do they influence my actions?

Answered: 1 week ago