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

11 lines
158 B
C#

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