2017年6月8日
摘要: public static void main(String[] args) { // 二维数组来实现行列 int[][] yanghui = new int[10][]; // 初始化 for (int i = 0; i 1 第一行和第二行 不计算,从一维的第三行开始 //j > 0 每一行的第0... 阅读全文
posted @ 2017-06-08 16:52 Haol_陈 阅读(693) 评论(0) 推荐(0)
  2017年5月27日
摘要: 二维数组他的每一个元素都是一个数组。 1 public static void main(String[] args) { 2 int [][] sz=new int[5][5]; 3 4 for (int i = 0; i < sz.length; i++) { 5 for (int j = 0; j < sz... 阅读全文
posted @ 2017-05-27 13:17 Haol_陈 阅读(2604) 评论(0) 推荐(0)
  2017年5月26日
摘要: 1 public static void main(String[] args) { 2 Scanner sc=new Scanner(System.in); 3 System.out.println("请开始输入"); 4 int input=sc.nextInt(); 5 int zhengshu=0; 6 ... 阅读全文
posted @ 2017-05-26 11:21 Haol_陈 阅读(180) 评论(0) 推荐(0)
摘要: } 阅读全文
posted @ 2017-05-26 01:15 Haol_陈 阅读(774) 评论(0) 推荐(0)