Ziomnexpl

pentla2

Apr 10th, 2020
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.43 KB | None | 0 0
  1. using System;
  2.  
  3. namespace pentla2
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             int i = 10;
  10.         pocz:
  11.             if (i == 303)
  12.             {
  13.                 i = i + 1;
  14.                 goto pocz;
  15.             }
  16.             Console.WriteLine(i + " ");
  17.             i = i + 1;
  18.             if (i < 1000) goto pocz;
  19.             Console.ReadKey();          
  20.         }
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment