الرجوع
تسجيل الدخول

What is the output of the following code?

for (int i = 1; i <= 3; i++) {
    for (int j = 1; j <= 3; j++) {
        if (i == j) {
            System.out.print(i + " ");
        }
    }
}