问题
单项选择题
有以下程序:
#include <iostream>
using namespace std;
int main()
int x=15;
while(x>10&&x<50)
x++;
if(x/3)
x++; break;
cout<<x<<endl;
return0;
执行后的输出结果是( )。
A.15
B.16
C.17
D.18
答案
参考答案:C