Professional Documents
Culture Documents
Loops
Information Technology
A block of code is repeated
A pre-defined number of times
G6DICP - Lecture 5 Untila certain (boolean) condition is met
Determinate vs indeterminate
3 4
do { switch (answer)
... {
case ‘y’ : { ... }; break;
} while (a<=10) case ‘n’ : { ... }; break;
default : { ... }; break;
5 6
}