Trying to figure out how to write this program. I need some immediate help!
Define a base class person that will contain universal information, including name, address, birth date, gender and identification (student, worker etc). Derive from this class the following classes:
Add variable school for student class and company for worker.
Write a program that asks user to input information (student, worker etc) and creates a list of persons (the list should accept any object type). Give user choice to view list by gender and by identification( list of people who are students, list of people who are workers etc).