switch语句怎么用啊

switch语句怎么用啊

在C语言中,switch语句是开关语句,一般与case、break、default配合使用,对流程进行控制。switch语句的语法规则:switch ( 变量表达式 ){case 常量1 :语句breakcase 常量2 :语句b
html-css110