But I wanna push back values into the vector if it is true. Btw to be more clear I'm trying to make it if input is equal to any one of those elements in the vector
@Handy Andy I remember you from my last question lol, all I am trying to achieve is to compare the cin and vector in the if statement, the rest I'm able to do from there. But that really makes it clearer for me .