C++
Lab 18 - Vectors
Top of Form
Bottom of Form
Content
·
l18
Create a program that reads in an arbitrary number of items and stores them in a vector. Then output the contents of the vector.
Example (keyboard input shown in bold):
Enter in your shopping list. Enter in * to indicate you are done
chocolate milk
eggs
cheese
*
Here is your list:
chocolate milk
eggs
cheese