A quick multiple-choice check before you move on. Answer every question, then submit to see how you did.
1.How many times does for (int i = 0; i < 4; i++) run?
2.Why declare an accumulator before the loop rather than inside it?
3.When is while a better fit than for?