How to create a table of outputs where inputs don't follow a simple pattern?
<p>I'm not clear on how to make this table:</p>

<pre><code>Number of |   Number of Services
 Agents   |    2       5       10
=====================================
    1     |        |       |
    2     |        |       |
    4     |        |       |
    8     |        |       |
   10     |        |       |
   12     |        |       |
</code></pre>

<p>I could +=2 but that would print for 6.
Other than typing all the values by hand.
using output from <code>Simulator.simulate(numServices, numAgents, 0.71, 15, 1200);</code>
I was thinking of using a two dimensional array to store outputs and another to store numServices and numAgents but I'm not clear on how to get it to work.</p>

<p>If I store it  as</p>

<pre><code>int[6][3] in1 = {
  {2, 5, 10},
  {2, 5, 10},
  {2, 5, 10}
};
</code></pre>

<p>where do I store numAgents so that just by going from 1 to 6 I get their values?</p>

<pre><code>printf("    1     |    %d     |   %d |   %d\n", r1[i][j], r1[i][j+1], r1[i][j+2]);
</code></pre>
