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