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 ConsoleApplication2
- {
- class Program
- {
- static void Main(string[] args)
- {
- int n = int.Parse(Console.ReadLine());
- Console.WriteLine("{0}/|\\{0}", new string('.', (n * 2) - 1));
- Console.WriteLine("{0}\\|/{0}", new string('.', (n * 2) - 1));
- Console.WriteLine("{0}***{0}", new string('.', (n * 2) - 1));
- int dots1 = (n * 2) - 2;
- int dashes1 = 1;
- for (int i = 1; i <= (n * 2) - 2; i++)
- {
- Console.WriteLine("{0}*{1}*{1}*{0}",
- new string('.', dots1),
- new string('-', dashes1));
- dots1--;
- dashes1++;
- }
- Console.WriteLine("*{0}*{0}*", new string('-', (n * 2) - 1));
- Console.WriteLine(new string('*', (n * 4) + 1));
- for(int i = 1; i < 2; i++)
- {
- for (int p = 1; p <= (n * 2);p++)
- {
- Console.Write("*.");
- }
- Console.WriteLine("*");
- }
- Console.WriteLine(new string('*', (n * 4) + 1));
- }
- }
- }
Add Comment
Please, Sign In to add comment