Hello,
I have to do an array where the user inputs it, and it shows it with random generated numbers, and then the user puts 2 numbers for the indexes to swap.

so far i've got this;


using...