Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Calculate and list GPA information for a single student. (input Enter manually) SAMPLE INPUT Prompt the user to enter data from table below. A student

Calculate and list GPA information for a single student. (input Enter manually)

SAMPLE INPUT

Prompt the user to enter data from table below.

image text in transcribed

A student can take a minimum of one course and a maximum of seven courses during a semester.

Use the table below to verify the accuracy of the data entered by the user. When the user enters invalid data, display an appropriate error message and prompt the user to re-enter the value. Continue to prompt the user until user enters a valid value for the field.

image text in transcribed

PROCESSING

Calculate and list the following GPA information:

Semester 2 standard (unweighted) GPA

Semester 2 weighted GPA

Semester 1 standard (unweighted) GPA

Semester 1 weighted GPA

Cumulative standard (unweighted) GPA

Cumulative unweighted GPA

To calculate standard G.P.A., total the credit hours (Cr Hrs), compute the grade points for each course and then total the grade points. Divide the total grade points earned by the total credit hours. Use the chart below to convert a letter grade to a standard GPA on a 4.0 scale:

image text in transcribed

Source: College Board, How to Convert Your GPA to a 4.0 Scale, Retrieved from http://www.collegeboard.com/html/academicTracker-howtoconvert.html

For purposes of this assignment, to calculate a weighted GPA, for honors and AP courses, add .50 to the 4.0 scale points. For example if an A grade is earned in an Honors or AP course, then the A grade is worth 4.5 points, not 4.0 points. An unweighted or standard GPA uses the 4.0 scale; it does not assign any extra points for Honors or AP courses.

To calculate cumulative G.P.A., for all semesters total the credit hours (Cr Hrs) and then total the grade points. Divide the total grade points earned by the total credit hours.

SAMPLE OUTPUT

Semester 2: Standard GPA = 2.950 Weighted GPA = 3.283

Semester 1: Standard GPA = 3.294 Weighted GPA = 3.559

CUMULATIVE GPA

Standard GPA = 3.117 Weighted GPA = 3.417

SPECIAL INSTRUCTIONS

Attach and submit you program as a single .cpp file.

Classes and objects are not required for this assignment. If you choose to write an object-oriented program that uses classes and objects, you must place all of your code in a single .cpp file.

Do not include any of the following C++ programming features:

Functions

Arrays or Vectors

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_2

Step: 3

blur-text-image_3

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

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions

Question

differentiate the function ( x + 1 ) / ( x ^ 3 + x - 6 )

Answered: 1 week ago

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago