Guest User

Untitled

a guest
Nov 30th, 2017
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.18 KB | None | 0 0
  1. int width = 2 * n;
  2. int height = n;
  3. int colLRWidth = n / 2;
  4. int underscoresCount = 0; // if n is 3 or 4
  5. if (n > 4)
  6. {
  7.    underscoresCount = width - colLRWidth - colLRWidth - 4;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment