Consider the following code:
A B while (C) { D E } F G H
Assume the body of the loop executes 0 times. Write out the the order in which the statements will execute.
Assume the body of the loop executes 2 times. Write out the the order in which the statements will execute.
Order:
A B F G H
Order:
A B C D E C D E F G H
Related puzzles: