9
Reply

how to spllititng array with for loop ?

Ask a question
hello 

i have this array ex : 


int a [] = {2,1,4,5,3,7,6,9,8,10};


1- sorrting array by loop 
i know this step 


2- i didn't no this result : 

 1   2   3   4   5   10   9   8   7    6  


how i will do it ??



Answers (9)