若运行变量x输入12,则以下程序的运行结果是( ) #include
int main( ) { int x,y; scanf("%d",&x); y=x>12 ? x+10:x-12; printf("%d\n",y); return 0; }
A.
0
B.
22
C.
12
D.
10
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】听力原文:Tutor: We're very pleased to welcome Professor lsaac Nebworth to our tutorial group today and he's come to share one of his pet passions with us - city traffic and our western dependence on the m...
【单选题】听力原文: Welcome to this year's national tennis championship tournament. We're pleased that you will be here throughout the week to cover the championship matches. Remember that you are required to wear ...