title: Trying to output an isosceles triangle. I keep getting a right triangle
body: <pre><code>using System;
  
  
  namespace Shapes
  {
      class Program
      {
          static void Main(string[] args)
          {
              Console.WriteLine("Character: ");
              string symbol = (Console.ReadLine());
              Console.WriteLine("Peak of Triangle: ");
              int peak = Int32.Parse(Console.ReadLine());
  
  
              int i = 0;
              while (i &lt;= peak) // spaces for triangle
              {
  
                  Console.WriteLine(" ");
  
  
  
                  int z = 1;
  
                  while (z &lt;= i) // Symbols for triangle
                  {
                      Console.Write(symbol);
  
                      z++;
  
                  }
  
  
                  i++;
              }
  
              Console.ReadLine();
          }
      }
  }
  </code></pre>
  
  <p>Output: should start at one (*) then increase until the peak is met. Then should decrease back down to one of whatever input. </p>
  
  <p>The output I am getting is not decreasing it stops at the peak input</p>