Question: Write a program to: A. Prompt the user for the number of courses; B.Prompt the user to enter the grade for each course. User should
Write a program to:
A. Prompt the user for the number of courses; B.Prompt the user to enter the grade for each course. User should be given the choice to enter either letter grades or grade points. Please see the table below for letter grades and corresponding grade points. C.Prompt the user to enter hours for each course. D.Using the functions described below, calculate grade point average
Gpa = ((gradePoints*hours))/(hour)
Your program must use functions with the following prototypes:
float Gpa(const char grades[], const int hours[], int arrLength);
float Gpa(const float gradePoints[], const int hours[], int arrLength);
float GradePoints(char grade);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
