Question: Write a program that reads an integer, a list of words, and a character. The integer signifies how many words are in the list. Ex:
Write a program that reads an integer, a list of words, and a character. The integer signifies how many words are in the list. Ex: If the input is:
hello zoo sleep drizzle
z
then the output is:
zoo,drizzle,
To achieve the above, first read the list into a vector. Keep in mind that the character a is not equal to the character A
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
