Hi, I was wondering if anyone could clarify what this question is asking for?
Write a program with a loop and indexed addressing that exchanges every pair of values in an array with an even number of elements. Therefore, item i will exchange with item i+1, and item i+2 will exchange with item i+3, and so on.
I've read it so many times but I don't understand what is being asked. "every pair of values in an array" and what does it mean by the "number of elements"?