public class b2021324 {
public static void main(String[] args) {
int[] scores = new int[]{76, 45, 56, 35, 99, 68};
int max = scores[0];
for (int i = 0; i < scores.length; i ++) {
if (scores[i] > max) {
max = scores[i];
}
}
System.out.println("最大值 " + max);
}
}