Hello All,
Trying to create a running total for by client using either a 2 dimensional array or hash.
I'm basically reading through a file and get a value I want to have a running total for and each record has the name of the client, at the end I would like to print the whole array which results in each name and the total.
I'm not sure first if an array or a hash is better and secondly based on what I have found online, I'm not seeing a good example to help me to understand how to accomplish this.
A simple example would be a great starting point!
Thanks!