20165235 祁瑛 Java第四周考试总结 课后习题p29 p45 代码编写 import java.util.*; class Example2_5{ public static void main (String args[]){ int start = 0,end ,middle; int a[] = {12,45,67,89,123,-45,67}; int N = a.length; for(int i=0;i<N;i++){ for(int j=i+1;j<N;j++){ if…