The execution of a while loop can be pictured with time on a horizontal axis and code vertical. You may enter a subset of legal java code below.
|Java Code||→ Time →|
Mouse-over times to see how things change. The bottom row of the times is something like a slider, allowing you to more easily
run the program.
Below is the memory and output as it looks after completing the highlighted part of the code.