//如果不上机运行,能否发现问题

//题为1-100数字求和

#include<stdio.h>

int main()

{

int i = 0;

int sum = 0;

while(i < = 100)

sum + = i;

i++;

}

printf("sum = %d\n",sum);

return 0;

}