Question: Create a C+* console program that continuously prompts the user for names to add to a vector. Let the user determine when to stop adding

 Create a C+* console program that continuously prompts the user for

Create a C+* console program that continuously prompts the user for names to add to a vector. Let the user determine when to stop adding names Next. prompt the user for a character to search for and then display all names that start with that character. Make use of the startsWith function from Peer Assignment 07. Create a void function that will receive a constant reference to the vector of names and also the character to search for. The function should iterate over the vector, searching for names that begin with that character and print out any that it finds lease enter a list of names to add to a list Enter e to finish. Alex Tom Bob Arnold Sue ext I wil display all names that start with a certain character. lease enter your chosen character. Results: lex rnold ress any key to continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!