Unit 4: Iteration Flashcards

1
Q

format for while loops (three things):

A

i- nitialize variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

format for for loops (three things);

A

for(initialize; test condition; change) {
loop body
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly