Guest User

Untitled

a guest
Jun 2nd, 2016
163
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. class Program
  3. {
  4. static void Main(string[] args)
  5. {
  6. int n = int.Parse(Console.ReadLine());
  7. Console.WriteLine(new string('.', n + 1) + new string('_', 2 * n + 1) + new string('.', n + 1));
  8. for (int i = 0; i <= n; i++)
  9. {
  10. if (i < n)
  11. {
  12. Console.WriteLine(new string('.', n - i) + "//" + new string('_', 2 * n - 1 + 2 * i) + "\\\\" + new string('.', n - i));
  13. }
  14. else
  15. {
  16. Console.WriteLine("//" + new string('_', n + i - 3) + "STOP!" + new string('_', n + i - 3) + "\\\\");
  17. }
  18. }
  19. for (int i = n; i > 0; i--)
  20. {
  21. Console.WriteLine(new string('.', n - i) + "\\\\" + new string('_', 2 * n - 1 + 2 * i) + "//" + new string('.', n - i));
  22. }
  23. }
  24. }
RAW Paste Data