读书人

if条件跟for循环语句、while、do.whil

发布时间: 2013-03-25 15:43:04 作者: rapoo

if条件和for循环语句、while、do..while、switch语法

?

?

int score = 60;switch(score){    case 40:        NSLog(@"不及格");        break;    case 60:        NSLog(@"及格");        break;    case 90:        NSLog(@"优秀");        break;    default:        NSLog(@"无分数");        break;}

?

读书人网 >编程

热点推荐