There is an array array1=[20,10,4,3,8,9,30]. There result array should have the immediate next number of the main array. i.e array2=[30,20,8,4,9,30] [closed]
solved There is an array array1=[20,10,4,3,8,9,30]. There result array should have the immediate next number of the main array. i.e array2=[30,20,8,4,9,30] [closed]