How do you swap the numbers and the location of their values in an array?

Printable View