Unit 4: Iteration Flashcards
1
Q
format for while loops (three things):
A
i- nitialize variable
2
Q
format for for loops (three things);
A
for(initialize; test condition; change) {
loop body
}
format for while loops (three things):
i- nitialize variable
format for for loops (three things);
for(initialize; test condition; change) {
loop body
}