5
Reply

Array swaping

Vipin Tyagi

Vipin Tyagi

Feb 26 2014 10:38 PM
1.4k
i have a array 
{10,20,30,40,50 and so on}
and i want that this array be sorted in the form {20,10,40,30,60,50......}
how can i do this???
plz write the code i am unable to solve this.....


Answers (5)