摘要:
编写一个程序,打印输出下列5×5螺旋方阵: 12345 161718196 152425207 142322218 131211109 1 public class Main 2 { 3 public static void main(String args[]) 4 { 5 int map[][] = new int[5][5]; 6 for(int i=0;i4 || tb>4 || ta<0 || tb<0)18 {19 c = (c+1)%4;20 ... 阅读全文