C# Console ile yıldız,desen,üçgen vb çalışmalar -9- İçi dolu yatay üçgen yapma


C# Console ile yıldız,desen,üçgen vb çalışmalar -9- İçi dolu yatay üçgen yapma
 {
 
static void Main([] args)
  {
    int i, j;
    int MAX = 10;
    for (i = ; i <= ; i++)
    {
      for (j = 1; j  i ++)
      {
        Console.Write("*")
      }
      Console.WriteLine()
    }
    for (i = ; i >= 1; i--
    {
      for (j = 1; j  ; j++)
      {
        Console.Write("*")
      }
      Console.WriteLine()
    }
    Console.ReadLine()
  }   
 
 
 
<center> CIKTI</ center> 
 
  
*
**
***
****
*****
******
*******
********
*********
**********
*********
********
*******
******
*****
****
***
**
*
 
}