Question: Please build this flowgorithm program, not flowchart. I am having trouble with the syntax for flowgorithm using arrays so that is important. Phone Number Lookup
Please build this flowgorithm program, not flowchart. I am having trouble with the syntax for flowgorithm using arrays so that is important.
Phone Number Lookup
Design a program that has two parallel arrays: a string array named people that is initialized with seven random names and a string array named phone-numbers that is initialized with the phone numbers of each person. The phone-numbers array should be a string so the phone numbers can be formatted, for example (555) 555-5555. 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 phone number from the phone-numbers array and display it. If the person is not found in the people array the program should display a message indicating so.
The names and numbers must be hardcoded into the program. The program should start by asking for the name the user wants to lookup then display their phone number.
Please enter a name
Jane
The phone number is (555) 555-0000
Please enter a name
John
That name is not in the phone list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
