Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

#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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions

Question

=+What kinds of problems need to be overcome?

Answered: 1 week ago

Question

=+Describe an important trade-off you recently faced

Answered: 1 week ago