using System;
public class Program
{
public static void Main()
var row = 2;
var columnPerRow = row * 2 - 1;
var start = columnPerRow / 2;
var end = start;
var current = 0;
do {
if (current < start || current > end)
Console.Write(" ");
else
Console.Write("*");
current++;
if (current > columnPerRow) {
current = 0;
start--;
end++;
Console.WriteLine();
}
} while (start >= 0);