title: Print matrix with one for loop
body: <p>I'm newbie to c#.</p>
  
  <p>I have 2 variables which I get from user named "line" and "column". My goal is write "*" to screen about much lines and columns that I get from user. For example, user entered 5 column and 5 lines:</p>
  
  <pre><code>00000
  00000
  00000
  00000
  00000
  </code></pre>
  
  <p>But when I run my program, It looks like:</p>
  
  <pre><code>00000
  00000
  00000
  00000
  0000
  </code></pre>
  
  <p>(yeah, the last one is missed).</p>
  
  <p>My code is :</p>
  
  <pre><code>int i;
  int satir, sutun;
  Console.WriteLine("Kaç satır olsun?");
  satir = Convert.ToInt32(Console.ReadLine());
  Console.WriteLine("Kaç sütun olsun peki?");
  sutun = Convert.ToInt32(Console.ReadLine());
  
  for (i=1; i &lt; sutun * satir; i++)
  {
      if (i%sutun==0)
      {
          Console.Write("\n");
      }
      else
      {
          Console.Write("*");
      }
  }
  Console.ReadLine();
  </code></pre>
  
  <p>How can I fix this? Thanks in advice.</p>