DEV/DEV2.1/TP0:Introduction/Tri.java

14 lines
274 B
Java
Raw Permalink Normal View History

2023-02-13 11:29:17 +01:00
import java.util.Arrays;
public class Tri{
public static void main(String[] args) {
int resultat=0;
for(int i=0;i<args.length;i++){
int n = Integer.parseInt(args[i]);
} Arrays.sort(args);
for(int i=0;i<args.length;i++){
System.out.println(args[i]);
}
}
}