Computer Science, asked by ap07july, 8 months ago

Examine the following code fragment:
int j = 1;
while ( j < 10 )
{
System.out.println( j + " ");
j = j + j%3;
}
What is output to the monitor?​

Answers

Answered by Imblank
2

Answer:

1

2

4

5

7

8

will be the output

Read my bio once

Similar questions