Question: #include #include #include class ExamTime{ public: ExamTime (short y, short m, short d, short h, short min, double du) { this.year = y; this.month =

 #include #include #include class ExamTime{ public: ExamTime (short y, short m,

short d, short h, short min, double du) { this.year = y;

#include #include #include class ExamTime{ public: ExamTime (short y, short m, short d, short h, short min, double du) { this.year = y; this.month = m; this.day=d; this.hour = h; this.minute = min; this. duration = du; } private: short year; short month; short day; short hour; short minute; double duration; }; class Course{ public: Course(); Course (const char*, const char*, const char*, short, short, short); Course(const Course &); Course(const Course &); 1/return an exam time object reference on a particular date and time and duration; friend ExamTime& scheduleExam(const Course &); private: char* subject; // such as COEN, ECE, SOEN, MATH, etc char* career; // values are only {undergraduate, graduate, continuing education, // professional development, research} char* department; short level; // values are {200, 300, 400, 600} short number; //such as 244, 243, 352, ... const short capacity; // assume capacity is 75 }; Q1. Are there any errors in the code above? If yes, please fix the error

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!