Question: In C++ Please Write a function named getGradePoints. This function takes 1 input parameter called letterGrade which is a character and returns the grade point
In C++ Please

Write a function named getGradePoints. This function takes 1 input parameter called letterGrade which is a character and returns the grade point depending on the letter grade. When grade is 'A' return 4.0, When grade is 'B' return 3.0, When grade is 'C" return 2.0, To start with, copy below code segment and finish the implementation YOU MUST USE SWITCH-CASE STATEMENT in the body double getGradePoints (char letterGrade) double points; /* Your solution goes here: USE SWITCH-CASE STATEMENT return points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
