Question: C++ Linux Need help with assignment - Instructions posted below 2. Design a class called Course. The class's purpose is to store the information
C++
Linux
Need help with assignment - Instructions posted below
\
2. Design a class called Course. The class's purpose is to store the information of a course. The class Course has the following member variables: - code: a 3-digit number - name: a string - testsScore: an array of three float numbers The class should have the following member functions: - Default Constructor: A default constructor that sets code =120, name = "CS1", testsScores to [0.0,0.0,0.0]. - Constructor: Accepts the code, name and testsScore of the course as an argument. - setters and getters for each member variable. - Overloading the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
