OOP Exercise 2 PDF
OOP Exercise 2 PDF
You are developing a School Management System that stores and displays details of Teachers,
Students, and Staff Members.
Each person has basic information (name, age, ID), but their roles differ, requiring specific
details for each type of person.
---
Subtasks:
A method displayStudentInfo() that calls displayPersonInfo() and shows grade and GPA.
A method displayStaffInfo() that calls displayPersonInfo() and shows position and salary.
Store multiple objects in arrays (or vectors) and display all details using loops.
Use a menu-driven approach to allow the user to choose whether to add new data or exit.