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

What is the output of the following code snippet?

int num = 9;
while (num >= 0) {
    if (num % 2 == 0) {
        num++;
        continue;
    }
    System.out.print(num + " ");
    num = num - 2;
}