using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication8
{
class Program
{
static void Main(string[] args)
{
int[,] ne = new int[9, 9];
for (int i = 0; i < ne.GetLength(0); i++)
{
for (int j = 0; j < ne.GetLength(1); j++)
{
if (i == j || i + j == 8) ne[i, j] = 1;
else ne[i, j] = 0;
}
}
for (int i = 0; i < ne.GetLength(0); i++)
{
for (int j = 0; j < ne.GetLength(1); j++)
{
if (ne[i, j] == 1) Console.Write(" ");
else Console.Write("x");
}
Console.WriteLine();
}
Console.ReadKey();
}
}
}