摘要: 一,介绍 实际开发中,判断奇偶是很常见的场景。 二,开发 1,%取余 private static void judgeEven1(int i) { if (i % 2 == 0) { System.out.print(i + "是偶数。"); } else { System.out.print(i 阅读全文
posted @ 2021-03-02 20:54 superChong 阅读(354) 评论(0) 推荐(0) 编辑