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 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
Get step-by-step solutions from verified subject matter experts
