Question: Lab exercise-Computing III 11 1. Write a program in C++ which fills up a vector with 30 integers randomly. Then using iterator (a) delete the

 Lab exercise-Computing III 11 1. Write a program in C++ which

Lab exercise-Computing III 11 1. Write a program in C++ which fills up a vector with 30 integers randomly. Then using iterator (a) delete the 3 element from the vector (b) delete from 5th element to 8th elements (c) print the sum of the elements (d) remove all even numbers using remove if. 2. Write a program to store grades of 5 students using STL map. If Jack exists in map, then erase Jack's information

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!