Topic: Array Problem / Level: beginner

Problem: Replace all odd-indexed elements in an array with their negative value.

Run the code to see the output here...