I need to print the contents of an array both in the original order and after inverting its contents. My problem is doing the second part without using reverse(), any sugguestions?
My idea was of getting the int in the last cell of the first array, put it in the first of the second, then go to the second to last of the first array and put it in the second of the second array and so on.
You don't need to change the order or the elements in the array. Just start at element [n-1] and loop backwards (subtract 1 each loop) until you get to element [0]. Print out each element inside the loop.