| Author |
Sorting an integer array(ascending order)
|
Chaturaka Gunatilaka
Greenhorn
Joined: Oct 06, 2012
Posts: 16
|
|
int x[]={3,7,4,9,21,5}
How to sort the above array into int y[]={3,4,5,7,9,21} without using java.util.*;?
Thank you.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56200
|
|
|
What have you tried so far? What problems are you having with it?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32689
|
|
And welcome to the Ranch
|
 |
 |
|
|
subject: Sorting an integer array(ascending order)
|
|
|