This commit is contained in:
unknown
2022-01-14 06:54:18 +01:00
commit d9949b5cb0
288 changed files with 6425 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
public class Moyenne {
int numberOfNumber;
double total;
public Moyenne(){ //constructeur
}
double public getAverage(){
return this.numberOfNumber/this.total;
}
void public add(Number newNumber){
this.numberOfNumber++;
this.total+= newNumber.doubleValue();
}
}