using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication25
{
class Program
{
static void Main(string[] args)
{
string y = "";
for (int i = 12; i >= 8; i--)
{
//输入前面的空格
for (int m = 1; m <= i; m++)
{
Console.Write(".");
}
//输出后面的三角形
Console.Write("y");
if (i != 8)
{
y += "*";
Console.Write(y);
}
Console.Write("
");
}
Console.ReadLine();
}
}
}