Question: In C++ 1. (10 points) Write a program that keeps reading in strings of varied sizes. If an input string has length greater than 1

In C++ In C++ 1. (10 points) Write a program that keeps reading

1. (10 points) Write a program that keeps reading in strings of varied sizes. If an input string has length greater than 1 , store it in a vector. If an input string has length 1 (a single character), output the string stored in your vector that has the first letter matching the input character. Keep doing this until you read the string "quit", at which point the program ends. Input: For example, the user inputs words "Apple", "Orange", "Banana", "Apricot" and then the character "a" Output: Apple Apricot

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!