摘要: 1.求1到100之间所有能被3整除的整数的和(while;do;for) public static void main(String[] args) { int a=1; while(a<=100){ if(a%3==0){ System.out.println(a); } a++; } // T 阅读全文
posted @ 2021-04-02 13:18 医不活 阅读(115) 评论(0) 推荐(0) 编辑