Topic: Array Problem / Level: beginner

Problem: Swap the first and last elements of an array.

Run the code to see the output here...