Thread: Java help
View Single Post
Old 09-21-05, 06:12 PM   #13 (permalink)
ericcumbee
Guest
 
Posts: n/a
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.
  Reply With Quote