Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace STOP
- {
- class Program
- {
- static void Main(string[] args)
- {
- var n = int.Parse(Console.ReadLine());
- int dash = n * 2 - 1;
- Console.Write(new string('.', n+1));
- Console.Write(new string('_', (n * 2) + 1));
- Console.WriteLine(new string('.', n + 1));
- for (int row = 1; row <=n; row++)
- {
- Console.Write(new string('.', n + 1 - row));
- Console.Write(new string('/', 2));
- Console.Write(new string('_',dash));
- Console.Write(@"\\");
- Console.WriteLine(new string('.', n + 1 - row));
- dash += 2;
- }
- Console.Write(new string('/', 2));
- Console.Write(new string('_', (dash-4 )/2));
- Console.Write("STOP!");
- Console.Write(new string('_', (dash - 4)/2));
- Console.WriteLine(@"\\");
- for (int row = 0; row <n ; row++)
- {
- Console.Write(new string('.', row));
- Console.Write(@"\\");
- Console.Write(new string('_', dash));
- dash -= 2;
- Console.Write(new string('/', 2));
- Console.WriteLine(new string('.', row));
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement