public class 逆序 {
public static void main(String[] args) {
// TODO 自动生成的方法存根
int[] grade = {15,12,9,6,3};
int m;
for(int i = 0; i < 2; i++){
m = grade[i];
grade[i] = grade[5-i-1];
grade[5-i-1] = m;
}
for(int j =0; j < 5; j++){
System.out.println(grade[j]);
}
}
}