17 lines
403 B
Java
17 lines
403 B
Java
![]() |
import java.util.Arrays;
|
||
|
|
||
|
public class Main {
|
||
|
public static void main(String[] args) {
|
||
|
Tableaux t = new Tableaux(args.length);
|
||
|
|
||
|
int[] entiers = t.convertitTab(args, args.length);
|
||
|
|
||
|
t.afficheTab(entiers, 0);
|
||
|
|
||
|
System.out.println("Nombre d'entiers pairs : " + t.entiersPairs(0));
|
||
|
System.out.println("Valeur maximale : " + t.maximum(0, 0));
|
||
|
|
||
|
t.afficheTabInverse(entiers, entiers.length-1);
|
||
|
|
||
|
}
|
||
|
}
|