Topic: Array Problem / Level: beginner

Problem: Swap the even-indexed elements with the odd-indexed elements of an array.

Run the code to see the output here...