APL/APL2.1/TP7/Moyenne/Main.java

10 lines
203 B
Java
Raw Normal View History

public class Main {
public static void main(String[] args) {
double nb1 = 5.5;
int nb2 = 5;
Moyenne moy = new Moyenne();
moy.add(nb1);
moy.add(nb2);
System.out.println(moy.getAverage());
}
}