摘要: 获取一个随机数组,取其最大数和最小数,代码如下: public static void main(String[] args) {maxmin();}public static void maxmin() {int max = 0, min = 0;int[] a = new int[10];for 阅读全文
posted @ 2020-07-24 16:52 皮卡丘~~ 阅读(457) 评论(0) 推荐(0) 编辑