I have two arrays and I am trying to assign the values of one array, i.e. arrayOne[0] should be equal to the corresponding index in arrayTwo[0]. I am trying to do this using a forloop so that it loops through the the index of one array assigning the values sequentially. so far I have: for (int a =0; a< arrayOne.length; ++) { // this sets the an int that loops through the value of the arrays(both arrayOne and arrayTwo are the same length) I am lost however after this how to create the for loop which assigns index 0 = 0 and then incrementally step through this.
I know this is a very basic question but I am, as my name suggests, struggling to learn coding.