For 循环,技巧

for (int i = 0, j = 9; i < 9 && j>3; i++, j--) {
        System.out.println(i + "+" + j);
}