Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use the function name & arguement as described at the downside in question. Want to Write this code in C++ with all requirements in

image text in transcribed

Please use the function name & arguement as described at the downside in question. Want to Write this code in C++ with all requirements in question Microsoft visual studio 2019

I am posting this 4 time still I didn't get perfect answer

1. Prompt the user for the number of courses, 2. 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. 3. Prompt the user to enter hours for each course. 4. Using the functions described below, calculate grade point average (gpa). Use the following formula for calculating gpa: Gpa = (ElgradePoints*hours))/([hours) In the formula above, gradePoints refers to grade points received in a course and hours refers to hours for that course. For example, for PROG1960, the hours would equal to 3 and grade points will depend on the grade received. For this program, use the following table to find grade points corresponding to a received grade: Grade Grade Points A 4 B 3 2. D 1 F Example: if you wanted to find epa for two courses in which grades were A and B respectively and hours were 5 and 4 respectively, the gpa would be ((4.0*5)+(3.0*4))/(5+4). The gpa should never exceed 4. Your program must use functions with the following prototypes: float Gpa(const char grades[l, 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

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

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions