public class Somme { public static void main(String[] args) { int total = 0; for(int i = 0; i < args.length; i++) { total = total + Integer.parseInt(args[i]);; } System.out.print("La somme totale est : " + total); } }