Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这也可以用伪代码写成数字是这样的 8 7 6
5 4 3
2 1 0
int [][]data = { { 8,7,6 }, { 5,4,3 }, { 2,1,0 } }; for(int [] row: data) { for(int item: row) { System.out.print(item + " "); } System.out.println("\n"); }