For Loop Execution Trace
What is printed as a result of executing the following code segment?
for (int i = 200; i > 0; i /= 3)
{
if (i % 2 == 0)
System.out.print(i + " ");
}
A
66 22 7 2
B
200 66 22 7 2
C
200 66 22
D
200 66 22 2
Question Leaderboard
Not enough data yet to show leaderboard.
APFIVE