摘要: public static void main(String[] args) { int i = 3; while (i <= 100) { if (i % 3 == 0) { System.out.println(i + ":" + "三"); if (i + 1 % 5 != 0) { i = 阅读全文
posted @ 2020-04-09 14:43 Haidnor 阅读(1125) 评论(0) 推荐(0)
摘要: public class Rhombus { public static void main(String[] args) { printRhombus(15); } /** * 用 * 号打印层数为 n 的菱形 * @param lineNum 菱形层数 */ public static void 阅读全文
posted @ 2020-04-09 14:31 Haidnor 阅读(298) 评论(0) 推荐(0)