#include using namespace std; //declare the class class Course { //data members private: string courseNo, title, instructor; int numStudents; double avg; //member functions public: Course(); Course(string, string, string, int, double); //accessors string getCourseNo(); string getTitle(); string getInstructor(); int getNumStudents(); double getAvg(); //mutators void setCourseNo(string); void setTitle(string); void setInstructor(string); void setNumStudents(int); void setAvg(double); void print(); }; //default constructor. Set everything to null value Course::Course() { courseNo=""; title=""; instructor=""; numStudents=0; avg=0; } //parameterized constructor Course::Course(string cn, string t, string i, int ns, double a) { courseNo =cn; title = t; instructor = i; numStudents = ns; avg=a; } //accessors string Course::getCourseNo() { return courseNo; } string Course::getTitle() { return title; } string Course::getInstructor() { return instructor; } int Course::getNumStudents() { return numStudents; } double Course::getAvg() { return avg; } //mutators void Course::setCourseNo(string cn) { courseNo = cn; } void Course::setTitle(string t) { title = t; } void Course::setInstructor(string i) { instructor = i; } void Course::setNumStudents(int ns) { numStudents = ns; } void Course::setAvg(double a) { avg = a; } void Course::print() { cout<>ns; cout<<"Enter the average grade: "; cin>>a; c.setCourseNo(cn); c.setTitle(t); c.setInstructor(i); c.setNumStudents(ns); c.setAvg(a); cout<<"\nYou entered:"<