填空题

下面程序的功能是:计算1~10之间奇数之和及偶数之和。 Dim a,b,c,i a=0 c=0 For i=0 To 10 Step 2 a=i+a 【10】 c=b+c Next i Print "偶数之和=";a Print"奇数之和=" ;c-11

【参考答案】

b=i+1