单项选择题

有以下程序
main( )
int i=0,s=0;
do
if(i%2) i+ +; continue;
i++;
s+=i;
while(i<7)
cout<<s<<end1;执行后输出结果是

A.16
B.12
C.28
D.21