include<stdio.h>标签:return,int,编程,ret,includeint,printf,101,+....+ From: https://blog.51cto.com/u_15806064/5916423
int main()
{
int i=0;
int ret=0;
for(i=1;i<102;i+=2)
{
ret=ret+i;
}
printf("%d\n",ret);
return 0;
}
include<stdio.h>标签:return,int,编程,ret,includeint,printf,101,+....+ From: https://blog.51cto.com/u_15806064/5916423
int main()
{
int i=0;
int ret=0;
for(i=1;i<102;i+=2)
{
ret=ret+i;
}
printf("%d\n",ret);
return 0;
}