Examlex

Solved

How Many Times Does the Following Loop Run

question 14

Multiple Choice

How many times does the following loop run?
Int i = 0;
Int j = 1;
Do
{
System.out.println("" + i + ";" + j) ;
I++;
If (i % 3 == 0)
{
J--;
}
}
While (j >= 1) ;


Definitions:

Related Questions