1. Files you need to create: GradeBook.h (where the function prototype are listed),   GradeBook.cpp(the implementation of the functions) and Main.cpp (the main file)
2. If scanning for input grade using cin does not work, trygrade = cin.get();
3. 6 functions are included in the class:
- GradeBook(string input);
 - void displayMessage();
 - void setValue(string input);
 - string getValue();
 - void setGrades();
 - void displayGrades();
 
- string courseName;
 - int aCount;
 - int bCount;
 - int cCount;
 - int dCount;
 - int eCount;
 - int fCount;
 
Output sample:
No comments:
Post a Comment