/******************************************************************************
ID: 3608620 • Letter: #
Question
/******************************************************************************reverseArray() reverses the order of the elements in A[], betweenindices Lo
and Hi, inclusive.
Pre: A[] is an array of dimension >= Hi + 1.
Lo and Hi have been initialized.
Lo <= Hi.
Post: The elements F[Lo] through F[Hi] have been reversed.
Returns: the number of element swaps that were performed.
If Hi + 1 exceeds the dimension of A[] the behavior is undefined(but almost
certainly not enjoyable).
************************************************************************