int i=1,s=1; for(;s+i

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/31 11:34:11

int i=1,s=1; for(;s+i

for解释一下为如下代码:
//初始化,什么也不做
//然后判定循环继续的条件是否满足:
if((s+i