0
我需要比较switch语句中的int,并且我不确定如何输入错误。这里是我的代码:比较switch语句中的数字
switch (y) {
case int y isgreater(1, 411):
// case code here...
为了简化我想要的东西,在VB中,该代码将是:喜欢的Objective-C基于C语言的
Case >= 411:
'Code here for case
您需要使用'else if' –