Page 1 of 1

In C++ Write a base class Person and a derived class Student. A Person has a first name and a last name. A Student is a

Posted: Tue Jul 12, 2022 8:17 am
by answerhappygod
In C++
Write a base class Person and aderived class Student.
A Person has a first name and a lastname. A Student isa Person (it inherits) and it also has astudent id.
Write a Person class
Write a Student class
Write a main( ) to test your classes: