Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Phone number lookup Design a program that has two parallel arrays: a string arra

ID: 3635914 • Letter: P

Question

Phone number lookup
Design a program that has two parallel arrays: a string array named people that is initialized with the names of seven of your friends, and a string array named phoneNumbers that is initialized with your friends phone numbers. The program should allow the user to enter a persons name (or part of a persons name). it should then search for that person in the people array. If the person is found, it should get that persons phjone number from the phoneNumbers array and display it. If the person is not found in the people array, the program should display a message indicating so.

Explanation / Answer

Here's the pseudocode: PhoneNumberLookup (string people[], string phoneNumbers[], name) { for(i=0;i