i am in the midst of studying for finals and i came across a program about the olympics. in this program we were given the id's of each judge and the scores to put in. once we have all the scores you are asked to average them. although my program works, for some reason it is adding up all the previous averages. i actually set the average to zero but that doesn't do me any good. i was wondering if anyone could maybe help me try to figure out what i did wrong.

thanks everyone i found the answer