ok i omited the equal sign somehow when i copied the code snippet from onenote to my first post it should be
|
Quote:
|
nt n = 19;
while (n>=2)
{
System.out.print(n+10);
n -= 3;
}
Now do the following:
For each iteration (or loop) list the beginning value for the variable n, the (Boolean) value of the comparison (n>=2) and the output of the iteration, if any. Indicates when the loop terminates and why it does.
|