C 語言亦有提供多重選擇的控制結構,使用關鍵字(keyword) switch 、 case 、 default 的陳述,形式如下. switch (condition) case c:
確定! 回上一頁