Question
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
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 phone numbers that are initialized with your friend's phone numbers. The program should allow the user to enter a person's name (or part of a personal name). it should then search for that person in the people array. If the person is found, it should get that person's 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.
Step by Step Solution
3.53 Rating (146 Votes )
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Programming Logic & Design Comprehensive
Authors: Joyce Farrell
9th edition
978-1337102070
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App