Exercice n°7 : moyenne et coefficients