You are on page 1of 1

1. switch (expression) { case constant1: group of statements 1; break; case constant2: group of statements 2; break; . . .

default: default group of statements }

2. for (initialization; condition; increase) {statement;} 3. while (expression) {statement;} 4. do {statement} while (condition); 5. if (Condition1) {stmt1;} else if (Condition2) {stmt2;} else {stmt3;}

You might also like