sor/mutator methods Create another child class to represent Faculty. This class will have faculty rank and length of service as attributes along with an office location. Again, add methods as needed. Application Create an application that displays a menu that allows users to add students or faculty, or print either one or exit. Must use an array and add comments on your code. C++
Classes:
Write a Person class that has these attributes:
person_ID, first and last names, and age
Default and overloaded constructors
Accessors and mutators
equals method
toString method (make this virtual if C++, don't forget to prep the class for polymorphism)
Inheritance:
Create a child class to Person called Student:
Attributes: GPA and status (freshman, sophomore, junior, senior, graduate, graduated). Make sure you have appropriate accessor/mutator methods
Create another child class to represent Faculty. This class will have faculty rank and length of service as attributes along with an office location. Again, add methods as needed.
Application
Create an application that displays a menu that allows users to add students or faculty, or print either one or exit.
Must use an array and add comments on your code.
C++
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images