When phone book enties are displayed all data members will


Write a phone book program that uses the following classes:

Individal - Base Class

     Private data members -last name, first name, phone number

Student - Derived from Individual

     Private data members - gpa, hours

Staff - Derived from Individual

     Private data memers - position (string), year employeed (int)

The program should be menu driven and allow the user to

1. Create a new phone book entry and place it in an array

2. Retrieve a phone book entry and display on screen

3. Retrieve all names and display to screen and write to file

Have a staff array and student array. 10 positions are sufficient. No particular order is requied.

When phone book enties are displayed all data members will be displayed. Create a friend function that overloads the << operator to output phone book entries.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: When phone book enties are displayed all data members will
Reference No:- TGS0646126

Expected delivery within 24 Hours