Question: Question 3 You have to write a C++ program and draw a flowchart to calculate the GPA of the student. The following are the requiments:

Question 3 You have to write a C++ program and draw a flowchart to calculate the GPA of the student. The following are the requiments: Input the number of subjects taken by a student for the semester. For each subject taken, input the credit hours and grade received. Get the grade point for each grade received based on the following table: Grade A B D Grade point 4.0 3.0 2.0 1.0 Calculate the quality point for each subject by using this formula: quality point = grade point * credit hours Calculate the GPA for the student as the following formula: GPA = total of quality points / total credit hours Display the GPA of the student for the semester
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
