(Solved) : Using Flowgorithm Design Program Two Parallel Arrays String Array Named People Initialized Q42740287 . . .

Using Flowgorithm, design a program that has two parallelarrays: a String array named people that is initialized with thenames of 7 of your friends (false names), and a String array namedphoneNumber that is initialized with your friends’ phone numbers.The program should allow the user to enter a person’s name (or partof a person’s name). It should then search for that person’s phonenumber from the phoneNumber array and display it. If the person isnot found in the people array, the program should display themessage “That name is not in my phone list.” The output should looklike this: Output: “Enter a name” Output: “Jane” Output:” The phonenumber is 555-555-5555.” Output: “Enter a name.” Input: JohnOutput: “John” Output: “That name is not in my phone list.”

I started this but am getting errors (see below). I’m not surehow to fix it.

Main String Array people [7] found False index 0 String Array phoneNumber[7] Output Enter a name. people[0] Laura Input s

Main String Array people [7] found False index 0 String Array phoneNumber[7] Output “Enter a name.” people[0] “Laura” Input searchValue people[1]”Jeff” Output “&searchValue True found-False AND index< people-1 people[2] = “Nicolas” False people[3] “Camren” False True peopleindex]=searchValue people[4] “Dixon” index index+1 found True people[5] “Dorothy” Output “peoplelindex] Output “That phone number is not in my phone list” Output “The phone number people[6]”Yvonne” phoneNumber[0]= “(972)-555-9428” phoneNumber[1]= “214-555-0761” Show transcribed image text Main String Array people [7] found False index 0 String Array phoneNumber[7] Output “Enter a name.” people[0] “Laura” Input searchValue people[1]”Jeff” Output “&searchValue True found-False AND index

Expert Answer


Answer to Using Flowgorithm, design a program that has two parallel arrays: a String array named people that is initialized with t…

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?