摘要: while (true) { //数组:一组同类型的数据,数组是有长度的,数组是有索引的,索引从0开始 int[] shuzu = new int[7];//定义了一个长度为6的int类型的数组 ... 阅读全文
posted @ 2015-09-15 15:48 软件工程开发 阅读(887) 评论(0) 推荐(0) 编辑
摘要: //输入10个人的分数,求最高分最低分平均分 int[] fenshu = new int[10]; int max = 0; int min = 0; int sum = 0; ... 阅读全文
posted @ 2015-09-15 15:44 软件工程开发 阅读(1012) 评论(0) 推荐(0) 编辑