首页 > 考试题库
题目内容 (请给出正确答案)
[主观题]

float f=-123.567F; int i=(int)f; i的值现在是_____?

float f=-123.567F;

int i=(int)f;

i的值现在是_____?

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“float f=-123.567F; int i=(int)…”相关的问题
第1题
float f=-123.567F; int i=(int)f;i的值现在是_____?

float f=-123.567F; int i=(int)f;i的值现在是_____?

点击查看答案
第2题
下列哪个不是创建数组的正确语句?()

A.float f[l0]=new float[6][6];

B. float [fD=new float[6][6];

C. float fD[]=new float][6];

D. float 0[f=new float[6][;

点击查看答案
第3题
下列的变量定义中,正确的是()。

A.boolean b1=”true”;

B.float x=6.6;

C.byte i=200;

D.double y;

点击查看答案
第4题
设有int a;float f=8.5则执行语句a=(int)f%3;后a的值是()。
设有int a;float f=8.5则执行语句a=(int)f%3;后a的值是()。

点击查看答案
第5题
设有定义: int i=8,a,b; double x=1.34,y=5.3; 下列表达始中,符合C++语法的是()

A.a+=a-=(a=3)*(b=4)

B.x%5

C.a=a*3=2

D.y=float(i)++

点击查看答案
第6题
在Java中,下列()语句不能通过编译。

A.double d=23.3;

B.char c=’a’;

C.int a= 3+5;

D.float f=5+5.5;

点击查看答案
第7题
在scanf()函数调用的格式字符串中,若使用格式符为“%f”,则对应输入的数据类型为()。

A.char

B.int

C.float

D.double

点击查看答案
第8题
有如下程序main(){ float x=2.0,y;if(x<0.0) y=0.0;else if(x<10.0) y=1.0/x;else y=1.0;printf("%f/n",y);}该程序的输出结果是().

A.0.500000

B.1.000000

C.0.000000

D.0.250000

点击查看答案
第9题
We don’t have beds in the space shuttle, but we do have sleeping bags. During the day, w
hen we are working, we leave the bags tied to the wall, out of the way. At bedtime we untie them and take them wherever we’ve chosen to sleep.

On most space shuttle flights everyone sleeps at the same time. No one has to stay awake to watch over the spaceplane; the shuttle’s computers and the engineers at Mission Control do that. If anything goes wrong, the computers ring an alarm and the engineers call us on the radio.

On the space shuttle, sleep-time doesn’t mean nighttime. During each ninety-minute orbit the sun “rises ” and shines through our windows for about fifty minutes; then it “ sets ” as our path takes us around the dark side of the earth. To keep the sun out of our eyes, we wear black sleep masks.

It is surprisingly easy to get comfortable and fall asleep in space. Every astronaut sleeps differently. Some sleep upside down, some right side up. When it’s time to sleep, I take my bag, my sleep mask, and my tape player with earphones and float up to the flight deck. Then I crawl into the bag, and float in a sitting position just above a seat, right next to a window. Before I pull the mask down over my eyes, I relax for a while, listening to music and watching the Earth go by beneath me.

36、When it’s bedtime, astronauts pull their sleeping bags ________ .

A.near the windows

B.in the flight deck

C.above the seats

D.in any place they like

37、“Watch over” in para. 2 has the closest meaning to ________ .

A.take care of

B.see

C.look at

D.pay attention to

38、How long does it take for the space shuttle to go round the Earth?

A.Twenty-four hours

B.Fifty minutes

C.Ninety minutes

D.Nineteen minutes

39、According the passage, in order to get comfortable and fall asleep in space, it is necessary to ________ .

A.wear a sleep mask

B.listen to music

C.sleep upside down

D.sleep sideways

40、The best title for this passage is ________ .

A.bedtime doesn’t mean nighttime

B.sleeping in space

C.orbiting the Sun

D.sleeping on the space shuttle

点击查看答案
第10题
整付现值系数是()。

A.(F/A,i,n)

B.(F/P,i,n)

C.(P/F,i,n)

D.(A/P,i,n)

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改