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