CHAP 5 REPETITION STRUCTURES Flashcards
(8 cards)
1
Q
A
2
Q
THERE ARE THREE REPETITION STRUCTURES IN C++
A
while, do-while, for
3
Q
initialization
[ ]
{
process - change
}
[ ] (check)
A
do - while
4
Q
can also be used to jump out of a loop.
A
break
5
Q
[ ] (initialization, check, change);
{
process
}
A
for
6
Q
initialization
[ ] (check);
{
process - change
}
A
while
7
Q
repeating a block of code until a condition is met.
A
Repetition
8
Q
These three steps are essential for looping structures.
A
initialization
check
change