0

How can I let the user choose the order in which elements of the word array are displayed.

Example: if a user choose 2,0,4,3,1. The elements displayed would be Jim, Tom, lia, Mary, Tony. And if a user choose 1,0,4,2,3. The elements displayed would be Tony,Tom,lia,Jim,mary https://code.sololearn.com/cY7N3GFTVlJ2/?ref=app

11th Nov 2018, 6:09 PM
mya
mya - avatar
2 Answers
+ 2
https://code.sololearn.com/cgTW3raY7fdJ/?ref=app Now?
11th Nov 2018, 6:48 PM
Roneel
Roneel - avatar
+ 1
Roneel thank you so much
11th Nov 2018, 7:22 PM
mya
mya - avatar