Question: This keeps telling me that there is an error and I can't figure out what it is #ifndefGRAD H #define GRADH /Q1b: Create Grad class

This keeps telling me that there is an error and I can't figure out what it is

 This keeps telling me that there is an error and I

#ifndefGRAD H #define GRADH /Q1b: Create Grad class (5 points) //Part 1: Create a child class of the Student class named 'Grad // include "student . h" - class grad: public student public: grad(string studentName, int studentRollNo, studentType type): student (studentName, studentRollNo, studentType) void displayInfo); ; 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 me thod display Info (virtual method found inside of parent class Student) #endif //-GRAD H #ifndefGRAD H #define GRADH /Q1b: Create Grad class (5 points) //Part 1: Create a child class of the Student class named 'Grad // include "student . h" - class grad: public student public: grad(string studentName, int studentRollNo, studentType type): student (studentName, studentRollNo, studentType) void displayInfo); ; 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 me thod display Info (virtual method found inside of parent class Student) #endif //-GRAD H

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!