判断题

执行以下C++代码后的输出为 30 。

int rst=0;

for (int i=0; i < 10; i+=2){

rst +=i;

}

cout << rst;

A 正确
B 错误
赣ICP备20007335号-2