Question: Please write out the code to this. Thank you! Program Summary Write a C++ object-oriented program to manage a file system for professors at Norfolk

Please write out the code to this. Thank you!

 Please write out the code to this. Thank you! Program Summary

Program Summary Write a C++ object-oriented program to manage a file system for professors at Norfolk State University: First Name - string Last Name - string Department string Number of advisees - unsigned integer The program will manipulate the professor list based on the file professors.dat Class requirements 1. Create a professor class or struct based on the above professor structure 2. Create a professor class which contains two private members - an array of professors and the size of the array. The professor class will provide the following functionality. a. Load data from the data file professors.dat into the professor list 10 pts b. Retrieve and print a professor from the professor list 10 pts C. Insert a professor into the professor list 10 pts d. Delete a student from the professor list 10 pts e. Print the list of professors 10 pts f. Sort the professor list by last name 10 pts g. Print the name of the professor with the most students 10 pts h. Print the name of the professor with the least students 5 pts i. Print the average number of students per professor 5 pts Processing requirements 1. Load the professor file into an array called professors.dat 2. Create a menu to carry out the given operations 3. Implement input validation to avoid erroneous program errors 10 pts 4. Program must use appropriate functions be well commented 10 pts Structure of the file professors.dat - First Name, Last Name, Department, Number of advisees

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!