import java.util.Scanner;
public class SpiltFloat {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner in=new Scanner(System.in);
int N=10;
int[] arr=new int[N];
System.out.print("请输入十个整型数字:");
for(int i=0;i
}
int max=arr[0];
int min=arr[0];
for(int i=0;i
}
if(min>arr[i]) {
min=arr[i];
}
}
System.out.println("最大值:"+max+",最小值:"+min);
}
}