Question: Exercise 8 : Parallel Arrays For this problem you are going to create a function called FindHighest that will accept two parameters: names and calls.
Exercise : Parallel Arrays
For this problem you are going to create a function called FindHighest that will accept two parameters: names and calls. The names list will contain the names of individuals that work on a help desk. The calls list will contain the number of calls they received in one day. Your function will return back the name of the person who received the highest number of calls along with the number of calls they received.
In a prior problem, you wrote code that returned the index of where the lowest value in that list was found. This problem is very similar to that problem with the exception of now you are finding the highest value in a list. Additionally rather than returning the index value of where you found that value, you will be returning the name of the person corresponding to that value. Remember that when working with Parallel Arrays or Lists, the lists are synced with a common index. Therefore if you found the lowest value at index that would correspond to index in the other list.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
