用法 :. switch(條件式) { case 條件值1 : 程式碼; break ; case 條件值2 : 程式碼; ... switch(c) { case 1: printf("you input 1\n"); break; case 2:
確定! 回上一頁