第一頁 返回 繼續 最後一頁 概覽 圖形

Switch指令

switch (condition)

{

case 值1:處理1; break;

case 值2: 處理2; break;

........

default: 預設處理;

} /*condition必須是整數或字元*/