main(){int i,sum;i=1;sum=0;do {sum=sum+i;i++;}while(i<=100);printf("sum is%d\n",sum);}为什么非要加i++,否则就会陷入死循环.