-
Name the two parts of a loop.
loop header and loop body
-
What part of a loop controls how many times it runs?
the loop header
-
How many statements appear on the first line of a loop
3
-
What character must appear between each of the statements mentioned above?
?
-
What characters enclose the statements mentioned above?
( and )
-
What do you call the variable that controls the loop?
the loop variable
-
What data type must the variable that controls the loop be?
int
-
What does the first statement in the first line do?
declares and initializes the loop variable
-
What does the middle statement in the first line do?
determines when the loop stops
-
What does the last statement on the first line do?
updates the loop variable