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 CupJava
- {
- class Program
- {
- static void Main(string[] args)
- {
- int a = int.Parse(Console.ReadLine());
- for (int i = 0; i < a; i++)
- {
- Console.Write(new string(' ',a));
- Console.Write(new string('~', 1));
- Console.Write(new string(' ', 1));
- Console.Write(new string('~', 1));
- Console.Write(new string(' ', 1));
- Console.Write(new string('~', 1));
- Console.WriteLine(new string(' ', a+1));
- }
- //Console.WriteLine((a/4));
- Console.Write(new string('=', a * 3 + 5));
- Console.WriteLine(" ");
- for (int i = 0; i < a / 2 - 1; i++)
- {
- Console.WriteLine("|{0}|{1}|", new string('~', a*3 -(a/2- (a % 2))),new string(' ',a-1));
- }
- Console.WriteLine("|{0}JAVA{0}|{1}|",new string('~',a),new string(' ',a-1));
- for (int i = 0; i < a / 4; i++)
- {
- Console.WriteLine("|{0}|{1}|", new string('~', a * 3 - (a / 2 - (a % 2))), new string(' ', a - 1));
- }
- Console.Write(new string('=', a * 3 + 5));
- Console.WriteLine(" ");
- for (int i = 0; i < 1; i++)
- {
- for (int n = 0; n < a; n++)
- {
- Console.WriteLine("{0}\\{1}/{2}",new string(' ',n),new string('@',((a*2)+4)-(n*2)),new string(' ',a+n));
- }
- }
- Console.WriteLine("{0}",new string('=',a*2+6));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement