Question: 15. Make a function called findOldest that will find oldest employee in the array and return the whole struct to the caller. (Just #15 and

15. Make a function called findOldest that will find oldest employee in the array and return the whole struct to the caller. (Just #15 and #16) 15. Make a function called findOldest that will find oldest employee inthe array and return the whole struct to the caller. (Just #15and #16) 15. Make a function called findOldest. To this function, youwill pass either the male or female array. This function will find

15. Make a function called findOldest. To this function, you will pass either the male or female array. This function will find the oldest employee in the array and return the whole struct to the caller. Assume there is only one employee with that oldest age. Hints: employee findoldest look for the oldest return //return the whole struct 16, Call find oldest with the male array in the main and display only the first name of the oldest employee (use cout in the main). Sample Run Albert

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!