2629881

Untitled

Jul 26th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.55 KB | None | 0 0
  1.  if (i % 2 == 0 && a < 10)
  2.                 {
  3.                    
  4.                     WriteTextInPosition(defaultString, a);
  5.                     Thread.Sleep(50);
  6.                     a++;
  7.                    
  8.                 }
  9.                 if (a == 9)
  10.                     i++;
  11.                 if (a == 0 && i % 2 != 0)
  12.                     i--;
  13.  
  14.                 if (i % 2 != 0 && a > 0)
  15.                 {
  16.                     a--;
  17.                     WriteTextInPosition(defaultString, a);
  18.                     Thread.Sleep(50);
  19.                 }
Advertisement
Add Comment
Please, Sign In to add comment