if(some boolean expression) { .. }
|
else { ... }
-
Nested: if(some boolean expression) { .. }
-
else if(another boolean) { .. }
-
else { ... }
|
while(any boolean) { /* Do Stuff */ }
|
do { /* What to do */ } while (another boolean);
|
for(expression1; booleanexpression ; expression2) { ...}
-
naturally starts with expression1, applies expression2 at end of each loop, and continues as long as booleanexpression true
|