條件結構:if(語句1)if(語句1)else(語句2)if(語句1)elseif(語句2)else(語句3)switch結構:switch(){case 1:break;case 2:break;default:break;}循環:while循環while(t條件){}for循環for(){}do-while循環:do{}while()