code in C++
2. Write a function named insertManager() that prompts the user to enter data about new colleges, and inserts them into the list. This function is similar to searchManager() or deleteManager(). Reject duplicates. Some error checking is required. For instance, ABCD is not a valid input for the number of students: it must be a positive integer; -1987 is not a valid input for a year. You could also set a range for the establishment
OR
OR