Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

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

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions

Question

Describe and sequence the parts of a formal report.

Answered: 1 week ago