Consider the following code segment.
for (int k = 6; k < 26; k = k + 2)
{
if (k % 3 == 1)
system.out.print(k + " ");
}
What is printed as a result of executing the code segment?
Create a FREE account and get:
CAT Averages, Ratios & Proportions
CAT Logarithms, Surds & Indices