Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

/******************************************************************************

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).
************************************************************************

Explanation / Answer

please rate - thanks #include #include int reverse(int[],int,int); main() {intarray[15]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15},hi,lo,i,n=15,count; printf(" Before: "); for(i=0;i