Question: Implement the following class in interface and implementation files. A separate file (the main project file) shall have the main function that exercises this class.
Implement the following class in interface and implementation files. A separate file (the main project file) shall have the main function that exercises this class. Create a class named Student that has three member variables: name - string that stores the name of the student numClasses - integer that tracks how many courses the student is currently enrolled in, this number must be between 1 and 100 ClassList - an array of strings of size 100 used to store the names of the classes that the student is enrolled in Write the appropriate constructor(s), mutator and accessor functions for the class along with the following: a function that inputs all values from the user. including the list of class names a function that outputs the name and list of all courses a function that resets the number of classes to 0 and the classList to an empty list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
