Write a C++ program that utilizes virtual methods to store data about students and
professors. Create a base ‘person’ class, add two derived classes, student and professor. These
derived classes each contain a function called isOutstanding(). This function makes it easy for
the school administrators to create a list of outstanding students and professors for the venerable
Awards Day ceremony.
Input the person's name (student or professor)
For a student: if GPA > 3.5, the student is outstanding
For a professor: if a professor has more than 20 publications, the professor is outstanding
Note: The functions to get the data (getData()) and to check if a person is outstanding or not
(isOutstanding()) will be virtual in base class and will have different definitions in student and
professor classes. The names of the functions, however, will be the same (and hence the use of
virtual method)