Evaluate the "while" loop with an internal "if-else" structure in this Java code:
int n = 5;
while (n > 0) {
if (n % 2 == 0) {
System.out.println(n + " is even");
} else {
System.out.println(n + " is odd");
}
n--;
}
Evaluate the "while" loop with an internal "if-else" structure in this Java code:
int n = 5;
while (n > 0) {
if (n % 2 == 0) {
System.out.println(n + " is even");
} else {
System.out.println(n + " is odd");
}
n--;
}