摘要: 第一种: public static void main(String[] args){ printHollow(2); //输出菱形的行数 } public static void printHollow(int size){ if(size%2==0){ size++; }//非偶数的菱形 fo 阅读全文
posted @ 2018-07-20 22:14 我的未来需要你 阅读(147) 评论(0) 推荐(0)