Answer to Question #39679 in C++ for Calvin Thames
Declare two classes: Class and Student. Add data members for the name, the grade (integer as 0-F, 1-D, 2-C, 3-B, and 4-A), and the credit hours to the class Class. Add all proper constructors (at least two) and accessor functions.
For the class Student, add the name (string) and Total Grade Points (integer). Overload operator + that will update the Total Grade points for the student (add the Class's grade to the total grade points)
#include <iostream> #include <string> using namespace std;