单选题
有以下程序:
#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
A
B
C
D
【正确答案】
C
【答案解析】
提交答案
关闭