Question: Write a C++ program that will use vectors and will ask the user to choose one of the following options: 1- Read an element and
Write a C++ program that will use vectors and will ask the user to choose one of the following options:
1- Read an element and store it into an integer vector. Add it to the end of the vector
2- Print the content of the vector
3- Erase an element from a vector
4- Insert an element into the vector (at a specific location)
5- Exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
