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