Recall Problem 9 of Chapter 10 related to visiting faculty and regular faculty. Visiting faculty is now divided into visiting faculty from another educational institute and visiting faculty from non-educational institute. All visiting faculty now need facility for transport. Details of such need are stored with their objects and can be retrieved using a function TransportNeed(). This function cannot be a part of the faculty base class. Use typeid to find whether the faculty is a regular faculty or not, and then read the need for transport.
#Sales Offer!| Get upto 25% Off: