单项选择题

有以下程序: main() { int i=0,s=0; do{ if(i%2) {i++;continue;} i++; s+=i; } while(i<7);. printf("%d\n",s); } 执行后输出的结果是( )。

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