import java.util.Arrays; public class Arvutamine2{ public static double keskmine(double[] arvud){ return summa(arvud)/arvud.length; } public static double summa(double[] arvud){ double vastus=0; for(double arv: arvud){ vastus+=arv; } return vastus; } public static double[] arvudeks(String[] stringid){ double[] arvud=new double[stringid.length]; for(int i=0; i