摘要: 两种方式 while循环 public static void main(String[] args) { int i = 1; int sum = 0; // while (i <= 20) { if (i % 2 == 0 && i != 20) { sum -= i; System.out.p 阅读全文
posted @ 2021-06-09 17:30 枯树老鸭 阅读(442) 评论(0) 推荐(0) 编辑