the first code creates and initialises two variables (x and y) to 1. it then forms a vector of both of them, and prints that vector of integers as a string (so, prints x and y). if x is greater than 10, it jumps to line 11 (the end of program), which skips line 10. line 10 is executed if x is not greater than 10. it jumps back to line 3.