switch语句

switch 语句

int x = 10
switch(x)
case 1:
print(“sfsd”)
break
case 2:
print(“dsdf”)
break
default
print(“right”)
break

posted @ 2014-05-14 21:30  梅兴昊  阅读(137)  评论(0)    收藏  举报