I have a one-dimensional array of integers, like this:
int[] a = new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
And I want to turn it into an array of two dimensions, for example:
[1, 2, 3],
[4, 5, 6],
[7, 8, 9],
[10, 11, 12]
How...
asked by
07.03.2017 / 17:07