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

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!