for (int y = MIN_INT; y <= MAX_INT; y++) {
if (y == x + 1) {
x = y;
}
}
(Not sure there's a way to prevent Lemmy from escaping my left angle bracket. I definitely didn't type ampersand-el-tee-semicolon. You'll just have to squint and pretend. I'm using the default lemmy-ui frontend.)