欢迎访问我的个人网站==》 jiashubing.cn
摘要: 编写一个程序,打印输出下列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 ... 阅读全文
posted @ 2014-01-02 10:51 贾树丙 阅读(593) 评论(0) 推荐(0) 编辑