Question: Questions 1 and 2. undergrad.h grad.h undergrad.cpp grad.cpp student.h student.cpp I cannot figure out questions 1 and 2 (first 4 pictures) despite many attemps. I
Questions 1 and 2.
undergrad.h

grad.h

undergrad.cpp

grad.cpp

student.h

student.cpp

I cannot figure out questions 1 and 2 (first 4 pictures) despite many attemps. I have included student.h and student.cpp for reference.
#ifndef UNDERGRAD H #define UNDERGRADH / Q1a: Create Undergrad class (5 points) // Part 1: Create a child class of the Student class named 'Undergrad" // Part2: Declare constructor which accepts the same 3 parameters as the parent class Student's constructor // Pass the 3 parameters to the super constructor of the Student class. // Part 3: Re-declare the method displayInfo (virtual method found inside of parent class Student) #endif // UNDERGRAD H #ifndef UNDERGRAD H #define UNDERGRADH / Q1a: Create Undergrad class (5 points) // Part 1: Create a child class of the Student class named 'Undergrad" // Part2: Declare constructor which accepts the same 3 parameters as the parent class Student's constructor // Pass the 3 parameters to the super constructor of the Student class. // Part 3: Re-declare the method displayInfo (virtual method found inside of parent class Student) #endif // UNDERGRAD H
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
