In your loops where you are inputting the values, keep a running sum of the scores. Then outside of the loop divide by NUM_SCORES.
jonsca
Quantitative Phrenologist
5,621 posts since Sep 2009
Reputation Points: 1,165
Solved Threads: 581
make a variable called total, initialize it to zero
for loop (i: from 0 to NUM_SCORES)
total+=score[i]
Then divide total by NUM_SCORES
You can create a total variable for each of A, B, and C, or you can recycle it by setting it to zero in between loops.
jonsca
Quantitative Phrenologist
5,621 posts since Sep 2009
Reputation Points: 1,165
Solved Threads: 581