• 2022-06-06
    下面程序的功能是:计算1到10之间的奇数之和及偶数之和,请填空。#include;voidmain(){inta,b,c,i;a=c=0;for(i=0;i<;=10;i+=2){a+=i;【1】;c+=b;}printf("偶数之和=%d\n",a);printf("奇数之和=%d\n",c-11);}