title: nested loop: number pattern
body: <p>In C++, I want a number pattern below:</p>
  
  <pre><code> 1
   2 1
   3 2 1
   4 3 2 1
   5 4 3 2
   6 5 4 3 
   7 6 5 4
   8 7 6 5
   9 8 7 6
  </code></pre>
  
  <p>For line 1-4, I did this:</p>
  
  <pre><code> for(size_t i = 0; i &lt; m; i++) {
      for(size_t j = 0 ; j  &lt; i+1;  j++) {
          cout&lt;&lt;j;
      }
      cout&lt;&lt;endl;
   }
  </code></pre>
  
  <p>To complete line 5 - 9, should I separate an above pattern with 2 for loop?, is there an idea (one that actually works)?
  Please give me some suggestions since mine does not work. </p>