結果 : write a code to reverse the elements of the array