Complete the reverseValues method which is passed an array of ints(values) as a parameter. The method returns the ints(values) with the order of the numbers reversed.
For example, if the input array is {3, 7, 2, 4}
the method returns {4,2,7,3}
An example: reverseValues({3, 7, 2, 4}) should return {4,2,7,3}
I can't find any help that shows how to do this without seeing the array before hand.