01: #include <stdio.h> 02: 03: int main(void){ 04: int i=0, sum=0; 05: 06: loop_in: 07: sum += i; 08: i++; 09: if(i<=1000)goto loop_in; 10: 11: printf("%d\n",sum); 12: 13: return 0; 14: }