using System;
public class td2
{
static void exercice10(){
Console.WriteLine("entrez un entier n");
int n = Convert.ToInt32(Console.ReadLine());
for (int i = 1; i <= n; i++)
for (int k = 0; k <= n - i; k++)
Console.Write(" ");
}
for (int j = 1; j <= 2*i-1; j++)
Console.Write("*");
Console.WriteLine();
public static void Main(string[] args)
//exercice1();
exercice10();