#837. for循环
for循环
以下程序段的输出结果是({{ input(1) }} )
int i,sum=2;
for(i=1;i<=3;i+=2)
sum+=i;
printf("%d",sum);
以下程序段的输出结果是({{ input(1) }} )
int i,sum=2;
for(i=1;i<=3;i+=2)
sum+=i;
printf("%d",sum);
By signing up a 羽润编程 universal account, you can submit code and join discussions in all online judging services provided by us.