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
int votesarr[4][2]
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.
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).