Question: The following code defines a vector and an iterator. Rewrite the statement that defines the iterator so it uses the auto key word. vector strv
The following code defines a vector and an iterator. Rewrite the statement that defines the iterator so it uses the auto key word. vector strv {"one", "two", "three"); 60. vector. :iterator it strv.begin(); vector or ints Haneu v. write a statement 5); e following statement dermes vector v {1, 2, 3, = 4, 62. The following statement defines a vector of ints named v. The vector's initial contents are: 1, 2, 3, 4, 5. Write code to insert the value 999 into the vector, so its contents are: 1, 2, 999, 3,4, 5. vector v = {1, 2, 3, 4, 5); and the values should be ints. 64. Suppose a program defines a map as follows: mapcint, string> customers Write lowing elements: 9001, "Jen Williams" 9002, "Frank Smith" 9003, "Geri Rose" ook statements that use the map class's emplace member function to insert the fol- at the following vector definition: vector v = {7, 2, 1, 6, 4, 3, 5); wite code that displays a message indicating whether 65. the value 6 is found in to search the vector for ssage indica the vector. Use the STL binary_search( the value 6. ) algorithm function object created from the