Create a class with a data member of the type of a classyou defined.
Student isa Person with a major, a start date anda gpa. Use the Person class definedabove.
Define a Student class withmethods change_major(), update_gpa() and display() thatreturns a string.
Include a driver that
Create a class with a data member of the type of a class you defined. Student is a Person with a major, a start date and
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am