Here the vector elements are x = 10,20,30,40
y = 60,10,100,120
Both x and y are vectors. How to check if x present in y.
for x in y: // How to write this in cpp
Because asking one question a week on how to turn some random bit of python into some random bit of C++ isn't going to help you learn C++ in any shape or form.