编辑代码

#include <stdio.h>
int main()
{
    int i=1, s=0;
    while(1){  //循环条件为死循环
        s+=i;
        i++;
        if(i==5) continue;
        if(i==8) continue;
        if(i>10) break;
        printf("s=%d,i=%d\n",s,i);
   }
    printf("结果是:%d",s);
    return 0;
}