static void Main(string[] args)
{
//Program t1 = new Program();
//t1.method("111");
for (int i = 0; i < 6; i++)
{
for (int k = 0; k < i; k++)
{
Console.Write(" ");
}
for (int j = 0; j < 6; j++)
{
Console.Write("*");
}
Console.WriteLine();
Console.WriteLine();
}
Console.ReadLine();
}
这是c#写的,如果是java的话,就换一下Console.WriteLine()方法即可