Converting array int values to doubles
<p>I have a two-dimensional templated array of integers that I need to perform division on and convert to doubles (in order to create a percentage).  It is being passed to my function in the function definition as</p>

<pre><code>    int votesarr[4][2]
</code></pre>

<p>For each int in the array, I need to run a for loop (I assume) to divide the number by 10,000 and cout the resulting double value.</p>

<p>I'm unsure how to work this with the conversion as well as what I need to pass to the function that I haven't already (if anything).</p>