RosettaCodeData/Task/Jump-anywhere/C/jump-anywhere-1.c
2023-07-01 13:44:08 -04:00

11 lines
129 B
C

if (x > 0) goto positive;
else goto negative;
positive:
printf("pos\n"); goto both;
negative:
printf("neg\n");
both:
...