Review for Seattle Public Library Search by Ananaminakoium
Rated 4 out of 5 stars
import java.util.*;
public class array_sort{
public static void main(String[] args){
int num[] = {50,20,45,82,25,63};
int l = num.length;
int i,j,t;
System.out.print("Given number : ");
for (i = 0;i SMALLER l;i++ ){
System.out.print(" " + num[i]);
}
System.out.println("\n");
System.out.print("Accending order number : ");
Arrays.sort(num);
for(i = 0;i SMALLER l;i++){
System.out.print(" " + num[i]);
}}}
To create your own collections, you must have a Mozilla Add-ons account.