I want to erase all elements with value greater 2 and less 5 here is the code :
vector myvector{3, 3, 3, 3, 3, 3, 3, 1, 2, 3, 4, 5 , 2, 3, 4, 9};