Calculate Average Java

Your last line should probably be something like:

System.out.println("Average age: " + ((JasperAge + PaulaAge + NicoleAge) /3) + ". Average height: " +  ((JasperHeigth + PaulaHeigth + NicoleHeigth) /3) ".");

Mind my calculations, but you get the idea.

Leave a Comment