okay i was told to do a 3d array of ints named x blah blah, with 3 rows and 2 columns with 4 ints in each column. The elements in the first row are all 5, in the second row are all 7, and in the third row the first column is all 8 and the second column is 30, 31, 32, and 33.
int[][][] x = new int[3][2][]= {{5,5,5,5},{7,7,7,7},{8,30,31,32,33}};
this is what i came up with but im not sure about applying values to a "column"
yeah this is homework but im confused on what to do futher, this was the exact questions
Declare, create, and initialize a three-dimensional array of ints, x, that has 3 rows, each of which has 2 columns where each column is an array 4 ints. The elements in the first row are all 5, in the second row are all 7, and in the third row the first column is all 8 and the second column is 30, 31, 32, and 33.