Starter idea
Starter idea for Java
public class Main {
public static void main(String[] args) {
int[] scores = {88, 92, 79, 95};
int total = 0;
for (int score : scores) {
total += score;
}
System.out.println("Average: " + (total / scores.length));
}
}If the embedded editor opens with its default sample code, copy this starter into the compiler before running it.
