title: error with \t in last step of while loop (c++)
body: <p>I'm trying to perfect an <code>aligned multiplication table</code>. All is good, but the <code>\t</code> kinda falters in the very last step of the loop. It inserts double the space intended only in this step and I don't know why.</p>
  
  <pre><code>int main()
  {
      int N;
      cin &gt;&gt; N;
      int i = 1;
      while (i&lt;=N)
      {
          int j = 1;
          while (j&lt;=N)
          {
              cout &lt;&lt; "(" &lt;&lt; i &lt;&lt; "x";
              cout &lt;&lt; j &lt;&lt; ")";
              cout &lt;&lt; "=" &lt;&lt; i*j;
              j++;
              cout &lt;&lt; "\t\t";
          }
  
          i++;
          cout &lt;&lt; "\n";
      }
          system("pause");
          return 0;
      }
  </code></pre>
  
  <p>The output: 
  <a href="https://i.stack.imgur.com/cNzYV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cNzYV.png" alt="output"></a></p>