Write a Program to output the following:
Name of Student
Course
Grade (Based on the marks entered)
marks grades
80-100 A
75-79 B+
60-69 B
55-59 C+
50-54 C
45-49 D
0-44 F
#include <iostream>
#include <string>
#include <cmath>
usingnamespace std;
int main(){
char grade ='A';
switch (grade)
{
case'A': cout << "The grade point is 4.0."; break;
case'B+': cout << "The grade point is 3.5."; break;
case'B': cout << "The grade point is 3.0."; break;
case'C+': cout << "The grade point is 2.5."; break;
case'C-': cout << "The grade point is 2.0."; break;
case'D': cout << "The grade point is 1.0."; break;
case'F': cout << "The grade point is 0.0."; break;
default: cout << "The grade is invalid.";
}
}