/ Published in: C++
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#include <cstdlib> #include <iostream> #include "GradeBook.h" using namespace std; int main() { int cNo; cout << "enter the course code" << endl; cin >> cNo; GradeBook G; G.setCourseNo(210); G.displayMessage(cNo); G.displayMessage(); cout << "course avarage is " << G.determineCourseAverage() << endl; //for dev-c++ bug int finishHim; cin >> finishHim; return 0; }