C++

profileh2o
lab_18.docx

Lab 18 - Vectors

Top of Form

Bottom of Form

Content

· https://learn.csuchico.edu/images/ci/sets/set01/document_on.gif

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