It is just the sum at the moment, but the sum of how many iterations that the each topic was voted on and not the sum of the actual value of the votes. If I could just figure out how to get the total value of the votes per topic, then I could easily set the average to equal total divided by 10 (the number of options). This is the part that has me stumped at the moment. Any further insights would be greatly appreciated.
O.K. I got the sum and set the average to equal the total divided by ten, but I am getting the wrong average for each row now matter what rating, or how many iterations, I give each of the 5 topics during user input.