/**
    Arrays, with bounds-checked access, are standard in Java.
*/

class ArrayDemo {

  static public void main (String argv[]) {

    int Scores [] = new int [10];

    for (int i=0; i < Scores.length; i++) {
      Scores[i] = i+5;
    }

    int sum = 0;
    for (int i=0; i < Scores.length; i++) {
      sum += Scores[i];
    }

    System.out.println
      ("Average = " + (float)sum/Scores.length);

  }

}
