using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace project1
{
class Program
{
static void Main()
{
int x, y;
Console.WriteLine("x=");
x = Convert.ToInt32(Console.ReadKey());
Console.WriteLine("y=");
y = Convert.ToInt32(Console.ReadKey());
for (int i = 0; i < 11; i++)
{
for (int j = 0; j < 11; j++)
{
if (i == 0 || j == 0 || i == 10 || j == 10)
{
Console.Write("*");
}
else if (x < 11 || y < 11)
{
Console.Write("*");
x++;
y++;
}
else
Console.Write(" ");
}
Console.WriteLine();
}
Console.ReadKey();
}
}
}