Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

C++ Create a class called Course that is used to hold the name of a college cour

ID: 3570799 • Letter: C

Question

C++

Create a class called Course that is used to hold the name of a college course and the number of students registered in the course. The problem should be built in three files Course.h, Course.cpp, and main.cpp. I have included the code for main.cpp file below which you should copy and paste into your main.cpp file.

The Course class should have two member variables: myCourseName and myNumberOfStudents. Use a string (not a cstring) for the name and an int for the number.

The class should have a default constructor that sets myCourseName to

Explanation / Answer

}

LabCourse

UseCourse