答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
在下面循环语句中循环体执行的次数为()。 int i=0,s=0; while(s<20) {i++; s+=i;}
①
4
②
5
③
6
④
7
参考答案:
复制
纠错
相关题目
【单选题】
在下面循环语句中循环体执行的次数为( ) int i=0,s=0; while(s<20) {i++; s+=i;}
①
4
②
5
③
6
④
7
查看完整题目与答案
【单选题】
在下面循环语句中循环体执行的次数为( ) int i=0,s=0; while(s20) {i++; s+=i;}
①
4
②
5
③
6
④
7
查看完整题目与答案
【单选题】
在下面循环语句中循环体执行的次数为()。 int i=0,s=0; while(s20) {i++; s+=i;}
①
4
②
5
③
6
④
7
查看完整题目与答案
【单选题】
在下面循环语句中内层循环体S语句的执行总次数为( ) for(int i=0; i i++) for(int j=i; j j++) S;
①
n2
②
(n+1)/2
③
n(n-1)/2
④
n(n+1)/2
查看完整题目与答案
【单选题】
在下面循环语句中内层循环体S语句的执行总次数为()。 for(int i=0; i i++) for(int j=i; j j++) S;
①
n2
②
(n+1)/2
③
n(n-1)/2
④
n(n+1)/2
查看完整题目与答案
【单选题】
在下面循环语句中内层循环体S语句的执行次数为( )。 for(int i=0;i<n;i++) for(int j=i;j<n;j++)S;
①
n2
②
(n+1)/2
③
n(n-1)/2
④
n(n+1)/2
查看完整题目与答案
【单选题】
在下面循环语句中循环体执行的次数为() int i=0; do i++; while(i*i
①
4
②
3
③
5
④
2
查看完整题目与答案
【单选题】
在下面循环语句中循环体执行的次数为()。 int i=0; do i++; while(i*i
①
4
②
3
③
5
④
2
查看完整题目与答案
【单选题】
在下面循环语句中内层循环体S语句的执行总次数为()。 for(int i=0; i<n; i++) for(int j=i; j<n; j++) S;
①
n2
②
(n+1)/2
③
n(n-1)/2
④
n(n+1)/2
查看完整题目与答案
【单选题】
在下面循环语句中内层循环体S语句的执行总次数为( ) for(int i=0; i<n; i++) for(int j=i; j<n; j++) S;
①
n2
②
(n+1)/2
③
n(n-1)/2
④
n(n+1)/2
查看完整题目与答案
随机题目
【单选题】
Buenos Aires is one of the world capitals that[填空] noted for its busy harbor.
①
have
②
is
③
has
④
are
查看完整题目与答案
【单选题】
The airplane?[填空] is taking off?is?making a lot of noise.
①
what
②
which
③
who
④
those
查看完整题目与答案
【单选题】
She asked me ?[填空]he was coming the next day.
①
who
②
that
③
which
④
whether
查看完整题目与答案
【单选题】
The earth on[填空] we live is a planet.
①
which?
②
where
③
when
④
whose
查看完整题目与答案
【单选题】
He is [填空] late
①
always
②
come
③
going to
④
near
查看完整题目与答案
【单选题】
The new monitor apparatus is[填空] controlled.
①
automatical
②
autom
③
auomatically
④
automatically
查看完整题目与答案
【判断题】
It’s a nice living here.
①
正确
②
错误
查看完整题目与答案
【单选题】
Next month I’m[填空] discussions with an agent in Brazil
①
have
②
having
③
had
④
do
查看完整题目与答案
【单选题】
You are not [填空] to smoke here.
①
allowing
②
permit
③
allowed
④
allowance
查看完整题目与答案
【单选题】
Can I have the records [填空] I lent you?
①
that
②
whom
③
those
④
whose
查看完整题目与答案