Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 8: 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 3, that would correspond to index 3 in the other list.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions