Console.WriteLine("請(qǐng)輸入倒金字塔的塔高");
? ? ? ? ? ? int n = Convert.ToInt32(Console.ReadLine());
? ? ? ? ? ? for (int i = 1; i <= n; i++)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? for (int j = i; j <= n; j++)
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? Console.Write("* ");
? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? Console.WriteLine(" ");
? ? ? ? ? ? }
? ? ? ? ? ? Console.ReadKey();