cfnr.net
当前位置:首页 >> jAvA如何换行打印二维数组,例如 1 2 3 4 5 6 7 8 9 >>

jAvA如何换行打印二维数组,例如 1 2 3 4 5 6 7 8 9

package com.test; public class Test { public static void main(String[] args) { final int[] is = new int[] { 1, 3, 6, 10, 15, 2, 5, 9, 14, 4, 8, 13, 7, 12, 11 }; int index = 0; for (int i = 5; i > 0; i--) { for (int j = 0; j < i...

网站首页 | 网站地图
All rights reserved Powered by www.cfnr.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com