第六章

      第六章  循环结构(二)

英语新识:

rate  比例    young  年轻    schedule  调度    negative  负数    customer  客户

birthday  生日      point  积分         continue  继续    return  返回       for  循环

语法新知:

for 循环:

for (表达式1;表达式2;表达式3){

//循环体

}

注:

for循环的 3个表达式在语法上都可以省略;

但分号(;)不可以省略;

原文地址:https://www.cnblogs.com/merrycell/p/6685411.html