Running totals in java. HELP!
I don't know if this is possible in java as I am relatively new to java programming but was hoping someone would be able to offer some advice? I have written a piece of code that reads in a csv file consisting of three columns of doubles and calculated the average of each column. If the average values are between certain ranges of values then a score of 0, 1, 2, or 3 will be allocated. I want to then store these scores somehow so that I can read in a second file and allocate further scores depending on the new average values. These scores then need to be stored in the same place as the first scores. I will then keep adding new scores from further files and need to determine a running total of the scores. I hope that makes sense and if so how do I go about coding this??
Many thanks in advance