Pseudocode:
Class: Private Name Phone Gender EducationLevel
public: EmployeeInfo
Name = new char[strlen(n) + 1]; Phone = new char[strlen(p) + 1]; gender = new char[strlen(g) + 1]; EducationLevel = new char[strlen(e) + 1];
const char *getname const char *getphone const char *getGender const char *geteducationLevel
END CLASS
Main
EmployeeInfo staff1("Jane Doe", "555-1111", "F", "Ph.D"); EmployeeInfo staff2("George Guy", "555-5555", "M", "Ed.D"); EmployeeInfo staff3("Jack Smith", "555-0909", "M", "Masters"); EmployeeInfo staff4("Sue Jones", "555-3456", "F", "Bachelors"); EmployeeInfo staff5("Alex Adams", "555-4001", "M", "Associates");
Then COUT Them all
END MAIN