Question: note : please show this coding in function type and array in it. thank you Question 3 // Do Function Type Coding with Array in

note : please show this coding in function type and array in it. thank you
Question 3 // Do Function Type Coding with Array in it You have asked to write a C++ program to calculate the GPA of a student. The following are the requirements: 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 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
