What does the following code snippet do?
int[] scores = {80, 92, 91, 68, 88};
int sum = 0;
for (int i = 0; i < 5; i++) {
sum += scores[i];
}
System.out.println((double) sum / 5);
a. Calculates the average score
b. Finds the maximum score
c. Sorts the scores in ascending order
d. Computes the sum of scores