import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
    String [] t = {"1","5","3"};
    Double So;
    Double Mo ;
        moyenne M1 = new moyenne(t);
       
        So=M1.Somme();
        Mo=M1.MoyenneS();
        System.out.println("Somme : "+So);
        System.out.println("Moyenne : "+Mo);
        //Methode Affichage ;
         M1.Affichage();
        
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: