Question: Lab Objectives: * You will practice in this lab with friend functions and classes 1. Define a friend function printDetails(Hospital& e) to print the details
Lab Objectives: * You will practice in this lab with friend functions and classes 1. Define a friend function printDetails(Hospital& e) to print the details of the Hospital. 2. Define a friend function remove DoctorFromHospital(Hospital& current Hospital, int i): this function removes the ith Doctor from the array Doctors in the current Hospital object and shifts remaining Doctors. i should be in a proper range
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
