Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ source code with comments and pseudocode at the top of the source code as a multi line comment please This assignment will require you

C++ source code with comments and pseudocode at the top of the source code as a multi line comment please

This assignment will require you to write a program that will create an array of 10 string objects. The array will be initialized with the strings which contain the persons name and phone number in one string.

The following is an example of test data:

Renee Javens, 678-1223,

Joe Looney, 586-0097,

Geri Palmer, 223-8787,

Lynn Presnell, 887-1212,

Bill Wolfe, 223-8878,

Sam Wiggins, 486-0998,

Bob Kain, 586-8712,

Tim Haynes, 586-7676,

John Johnson, 223-9037,

Jean James, 678-4939,

Ron Palmer, 486-2783

The program will prompt the user for the name or part of a name to search for. For example, the user may type in Joe, and the program should then display Joe Looney, 586-0097. If the user enters Pal then the program should have two outputs from the above list. The program should make use of the string object methods to find the matches. The array should be created in main and use a method to search the array to find the name(s) in the array. If a match is not found then it should display a message indicating there is no match. The method must be passed the array of data.

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

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions

Question

1. Who should participate and how will participants be recruited?

Answered: 1 week ago

Question

3. How would this philosophy fit in your organization?

Answered: 1 week ago

Question

How would you assess the value of an approach like this?

Answered: 1 week ago