I am trying to add another column of data to the end of my 2d array, but cannot make it work. Any help would be great. This is what I have so far.
double[] d = a.Total();
String[][] sr = a2.records();
String[] d2 = new String[d.length];
for (int i = 0; i < d.length; i++)
d2[i] = String.valueOf(d[i]); // converts double[] into string[]
My desired result is a 2d array all[sr.length + 1][] with the last column of data being d2. Both arrays have the same amount of rows.
thankyou