S Soniya New member Dec 5, 2010 #1 write a java program to read n numbers and put the maximum number on middle then the next largest on right ,then the next largest on the left and so on.... EXAMPLE: input: 7 9 2 5 6 output: 2 6 9 7 5
write a java program to read n numbers and put the maximum number on middle then the next largest on right ,then the next largest on the left and so on.... EXAMPLE: input: 7 9 2 5 6 output: 2 6 9 7 5