How do I display this number pattern in C++?
<p>I have to display this number pattern:</p>

<pre><code>-3  1  5  9
7  12  17
15 21
</code></pre>

<p>using:</p>

<pre><code>int number = __________________; // assign correct initial value
int row, col;

for (row = 1; row &lt;= 3; row++)
{
    // adjust number so it displays the correct first value in the row
    ________________________________________________
    for (col = 1; col &lt;= ___5 - row___; col++)
    {
      cout &lt;&lt; setw (5) &lt;&lt; number;

     // adjust number so it displays the next correct value in this row 
    ______________________number + row + 3;_________________________________ 
        } / /end inner for loop
 cout &lt;&lt; endl;
 } // end outer for loop
</code></pre>

<p>I know number + row + 3 gets the correct numbers across but I cannot seem to get the correct start value.</p>
