if (condition) { statement; }
if (condition) { statement1; } else { statement2; }
if (condition1) { statement1; } else if (condition2){ statement2; }
switch (value) { case 条件1: break; case 条件2: break; case 条件3: break; //... default: break; }