A. Modify the “studentData Table” to include your personal information as the last item.
B. Create a C++ project in your integrated development environment (IDE) with the following files:
• degree.h
• student.h and student.cpp
• roster.h and roster.cpp
• main.cpp
Note: There must be a total of six source code files.
C. Define an enumerated data type DegreeProgram for the degree programs containing the data type values SECURITY, NETWORK, and SOFTWARE.
Note: This information should be included in the degree.h file.
D. For the Student class, do the following:
- Create the class Student in the files student.h and student.cpp, which includes each of the following variables:
• student ID
• first name
• last name
• email address
• age
• array of number of days to complete each course
• degree program
- Create each of the following functions in the Student class:
a. an accessor (i.e., getter) for each instance variable from part D1
b. a mutator (i.e., setter) for each instance variable from part D1
c. All external access and changes to any instance variables of the Student class must be done using accessor and mutator functions.
d. constructor using all of the input parameters provided in the table
e. print() to print specific student data
E. Create a Roster class (roster.cpp) by doing the following:
- Create an array of pointers, classRosterArray, to hold the data provided in the “studentData Table.”
- Create a student object for each student in the data table and populate classRosterArray.
Sample Solution