下列程序段中,能将变量x、y中值较大的数保存到变量a,值较小的数保存到变量b中的是
A. if(x>y)a=x;b=y;else a=y;b=x;
B. if(x>y){a=x;b=y;}else a=y;b=x;
C. if(x>y){a=x;b=y;}else(x D. if(x>y){a=x;b=y;}else{ a=y;b=x;}
查看答案
下列程序运行结果第一行_________;第二行___________。#includeint main(){int a=0,b=2;switch(++a,a*b){case 1:printf("1");case 2:printf("2");case 3:printf("3\n");deault:printf("other\n");}return 0;}
Please sit next to Nancy. 该句改为否定句为:
A. Please don't sit next to Nancy
B. please not sit next to Nancy.
C. not sit next to Nancy.
D. No sit next to Nancy.
禁止停车。 该句翻译为:
A. No Park.
B. No Parking.
C. Don't Parking.
D. No car.
Let's go, _________?
A. will you
B. shall we
C. do you
D. do we