xoranges.cpp: In function 'int main()':
xoranges.cpp:28:18: error: expected primary-expression before '==' token
28 | if (z - y % == 1) {cout << "0" << endl; continue;}
| ^~
xoranges.cpp:30:6: error: expected ',' or ';' before 'for'
30 | for (int i = y + 1; i < z; i = i + 2){
| ^~~
xoranges.cpp:30:26: error: 'i' was not declared in this scope
30 | for (int i = y + 1; i < z; i = i + 2){
| ^
xoranges.cpp:47:18: error: expected primary-expression before '==' token
47 | if (z - y % == 1) {cout << "0" << endl; continue;}
| ^~