Question: Hi, I need help for this programming problem. So basically the problem is: To Use a STL Vector to store ten (10) integers. Initialize the

Hi, I need help for this programming problem. So basically the problem is:

To Use a STL Vector to store ten (10) integers. Initialize the vector with values from an array of size ten. The values in the array are multiples of 10 in the range 10 - 100. The array must be initialized dynamically. Push the array elements into the vector. Make a forward iterator and display the vector. Make a reverse iterator and display the vector in reverse. Display the size of the vector. Erase even numbered entries of the Vector. Display the vector and its size. Insert the values 20, 40, 60, 80 back into the vector in their previous positions.Display the vector and its size.

Thank you for your help.

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 Programming Questions!