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 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.
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:
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
Tony SparkEnlightened
None