
Adam V. answered 04/26/16
Tutor
4.9
(19)
Professional Software Engineer, over 16 years work experience!
You can also use a for loop in the normal direction, but access the array from the back, like so:
for (int i=0; i<A.length; i++)
print A[A.length - i - 1]
Adam V.
04/26/16