答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【简答题】【消耗次数:1】
有以下程序#includestdio.hmain(){ int x;scanf(%d,if(x15) printf(%d,x-5);if(x10) printf(%dif(x5) printf(%d\n,x+5); }若程序运行时从键盘输入12回车,则输出结果为[填空1]。
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang
相关题目
【简答题】
有以下程序#includestdio.hmain(){ int x;scanf(%d,if(x15) printf(%d,x-5);if(x10) printf(%dif(x5) printf(%d\n,x+5); }若程序运行时从键盘输入12回车,则输出结果为[填空1]。
查看完整题目与答案
【简答题】
有以下程序#includestdio.hmain(){ int x;scanf(%d,if(x15) printf(%d,x-5);if(x10) printf(%dif(x5) printf(%d\n,x+5); }若程序运行时从键盘输入7回车,则输出结果为[填空1]。
查看完整题目与答案
【单选题】
两次运行下面的程序,如果从键盘上分别输入1和10,则输出结果是。main( ){ int x; scanf(“%d”, if(x++5) printf(“%d”,x); else printf(“%d\n”,x++);}
①
1和2
②
10和11
③
1和10
④
2和11
查看完整题目与答案
【单选题】
若运行时给变量x输入12,则以下程序的运行结果是( )。 Main() {int scanf(%d, y=x12?x+10:x-12; printf(%d\n }
①
0
②
22
③
12
④
10
查看完整题目与答案
【单选题】
运行下面程序时,若从键盘输入3,5,则程序的输出结果是________. #include stdio.h void main( ) { int x,y; scanf(%d,%d,x, if (x==y) printf(x==y else if (xy) printf(xy else printf(xy }
①
35
②
53
③
xy
④
xy
查看完整题目与答案
【单选题】
有以下程序#include stdio.hmain(){ int a;scanf(%d ,if(a++9) printf(%d\nelse printf(%d\n }程序运行时从键盘输入9回车,则输出的结果是。
①
10
②
11
③
9
④
8
查看完整题目与答案
【单选题】
两次运行下面的程序,如果从键盘上分别输入6和4,则输出结果是( )。 main( ) { int x; scanf(“%d”, if(x++>5) printf(“%d”,x); else printf(“%d\n”,x--); }
①
7和5
②
6和3
③
7和4
④
6和4
查看完整题目与答案
【单选题】
两次运行下面的程序,如果从键盘上分别输入4和6,则输出结果是。main( ){ int x; scanf(“%d”, if(x++5) printf(“%d”,x); else printf(“%d\n”,x++);}
①
7和5
②
6和3
③
7和4
④
6和4
查看完整题目与答案
【单选题】
两次运行下面的程序,如果从键盘上分别输入6和4,则输出结果是。main( ){ int x; scanf(“%d”, if(x++5) printf(“%d”,x); else printf(“%d\n”,x--);}
①
7和5
②
6和3
③
7和4
④
6和4
查看完整题目与答案
【单选题】
若运行时给变量x输入12,则以下程序的运行结果是:main){intx,y;scanf%d,y=x>12?x+10:x12;printf%d\n,y)}
①
0
②
22
③
120)10
查看完整题目与答案
随机题目
【单选题】
The old man returning home after eight years absence to find that all the neighbors he had known were no longer there. Is this a complete sentence?
①
Yes
②
No
查看完整题目与答案
【单选题】
Which sentence is correct?
①
Returning home from work, he saw supper waiting for him in the kitchen.
②
Returning home after work, supper was waiting for him in the kitchen.
查看完整题目与答案
【单选题】
A number of foreign scholars [] invited to contribute articles to the magazine.
①
is
②
are
查看完整题目与答案
【单选题】
How to operate this computer? Is this a complete sentence?
①
Yes
②
No
查看完整题目与答案
【单选题】
The man was forced to steal a loaf of bread who was hungry. Find any misplaced modifier in the sentence.
①
The
②
a loaf of
③
who was hungry
查看完整题目与答案
【单选题】
Pop music is such an important part of society [] it has even influenced our language.
①
as
②
that
③
which
④
where
查看完整题目与答案
【单选题】
The companies are working together to create [] they hope will be the best means of transport in the 21st century.
①
which
②
that
③
what
④
who
查看完整题目与答案
【单选题】
To succeed in our future goal, [] we students really need to do is to study as hard as possible.
①
that
②
how
③
what
④
why
查看完整题目与答案
【单选题】
The drivers are told to drive carefully on the radio. Find any misplaced modifier in the sentence.
①
on the radio
②
the
③
carefully
查看完整题目与答案
【单选题】
The trees stand nearly barren; their leaves lay on the ground. Identify the mistake in the sentence.
①
stand
②
barren
③
leaves
④
lay
查看完整题目与答案