Loops Flashcards

1
Q

while loop syntax

A

while (condition) {
}

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

for loop syntax

A

for (int i = value; i < condition; i++) {}
(note: the parameters changes based on question)

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