int main(){int i = 1,sum = 0;lable:sum += i;i++;if (i <= 100){goto lable;}printf("sum=%d\n",sum);system("pause");
}
计算1+...+100
原文:https://blog.51cto.com/15099264/2638835