I need to store 2 arrays of values that are connected to each other. The arrays consists of a set of strings and a set of integer/double values. The size of the data are not fixed.
An example:
Data 1: AA, 13
Data 2: BB, 6
Data 3: GG, 2
I am trying to look at 2D Arrays. Is there a better way to store the values? There's a possibilities that I might need multidimensional arrays to store the values as well. Can anyone point me in the right direction or show me a way to create the 2D arrays and how to add/retrieve the elements?