for (int x=0, y=0 ; x < 10 && y < 10 ; x++, y++) { // Your code here }
// Need to initialize both x and y individually for(int x=0, y=0; x + y < z; x++, y++) { /* code */ }