for循环计算0-100之间奇数和偶数的和—Java
摘要:
package Struct; public class ForDemo02 { public static void main(String[] args) { int oddSum = 0; int evenSum = 0; for (int i = 0; i <= 100; i++) { if 阅读全文
posted @ 2021-08-12 17:07 yueyue~ 阅读(729) 评论(0) 推荐(0) 编辑