Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace CatFoodMeow
- {
- class Program
- {
- static void Main(string[] args)
- {
- int n = int.Parse(Console.ReadLine());
- Console.Write($"{new string('.', n - 1)}|");
- for (int i = 1; i <= n; i++)
- {
- Console.Write("\\/");
- }
- Console.WriteLine($"|{new string('.', n - 1)}");
- Console.Write($"{new string('.', n - 1)}|");
- for (int i = 1; i <= 2 * n; i++)
- {
- Console.Write("~");
- }
- Console.WriteLine($"|{new string('.', n - 1)}");
- for (int i = 1; i <= n; i++)
- {
- Console.Write($"{new string('.', n - 1)}|{new string(' ', i - 1)}");
- for (int j = n; j >= i; j--)
- {
- Console.Write("{}");
- }
- Console.WriteLine($"{new string(' ', i - 1)}|{new string('.', n - 1)}");
- }
- Console.WriteLine("{0}{1}{2}MEOW{2}{1}{0}", new string('.', n - 1), '|', new string(' ', n - 2));
- Console.WriteLine("{0}{1}{2}FOOD{2}{1}{0}", new string('.', n - 1), '|', new string(' ', n - 2));
- for (int i = 1; i <= n; i++)
- {
- Console.Write($"{new string('.', n - 1)}|{new string(' ', n - i)}");
- for (int j = 1; j <= i; j++)
- {
- Console.Write("{}");
- }
- Console.WriteLine($"{new string(' ', n - i)}|{new string('.', n - 1)}");
- }
- Console.Write($"{new string('.', n - 1)}|");
- for (int i = 1; i <= 2 * n; i++)
- {
- Console.Write("~");
- }
- Console.WriteLine($"|{new string('.', n - 1)}");
- Console.Write($"{new string('.', n - 1)}|");
- for (int i = 1; i <= n; i++)
- {
- Console.Write("\\/");
- }
- Console.Write($"|{new string('.', n - 1)}");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement