题目内容 (请给出正确答案)
[主观题]

【填空题】下面程序段的运行结果是 。 i=1;s=3; do{s+=i++; if(s%7==0) continue; else ++i; }while(s<15);>

暂无答案
如搜索结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能会需要:
您的账号:
发送账号密码至手机
发送
更多“【填空题】下面程序段的运行结果是 。 i=1;s=3; do…”相关的问题

第1题

下面程序运行后,输出结果为( )。

Dim a()

a=Array(1,3,5,7,9)

S=0

For i=1 To 4

S=S*10+a(i)

Next i

Print s

A.1357

B.3579

C.7531

D.9753

点击查看答案

第2题

有以下程序main( ){ int i=0,s=0;do{ if(i%2) {i+ +; continue; } i++; s+=i;}while(i<7)cout<<s<<end1;}执行后输出结果是

A.16

B.12

C.28

D.21

点击查看答案

第3题

【填空题】Lesson 15 Listening Comprehension-1 Fill i...

【填空题】Lesson 15 Listening Comprehension-1 Fill in the Blanks with what you have heard On TCAS As the direct result of accidents in 1980s leads to the wide-spread introduction to an (1) clever piece of new technology. It is called TCAS—traffic collision avoidance system. TCAS relies on a clever piece of technology called transponder--a device both (2) to radio signal. When 2 aircraft approach each other their transponders lock on and start to talk to each other. Terry is to train the pilots to use TCAS. The transponders of the aircraft (3) each other many times a second, In doing so it creates a (4) radio bubbles around each aircraft. if any time it senses those 2 bubbles might come too close for comfort, TCAS will (5) to pilots must react. And the approaching plane show up as a (6) , you can see we have got traffic below . it is climbing indicated by the arrow. It is now 600 feet below. Radio bubble is too close for comfort, the white diamond will change into an (7) . TCAS flashes up warning “ traffic, traffic” that is now (8) , 500feet below and still climbing. If the situation gets serious, the orange circle becomes (9) . TCAS orders the plane to (10) “ clime , climb” Now it is (11) . So i need to (12) the aircraft to avoid the traffic. In the simulation, TCAS orders one plane to climb and the other to descend. TCAS steers the aircraft away from each other. “ clear of traffic” and re-engaging the autopilot, and two bubbles in which the aircraft is sitting moves to safe distance apart. Technology seems to finally (13) that pilots are not able to see each other. As a direct result of LA collision, TCAS is now (14) on all commercial aircraft flying to most destinations. But TCAS system designed to (15) would one day play a part in one of the worst collisions of modern times.

点击查看答案

第4题

程序填空题 下列程序的功能是计算数列s = 1/1+1/3+1/5...

程序填空题 下列程序的功能是计算数列s = 1/1+1/3+1/5+1/7+1/9+1/11+…前n 项的和。n来自文本框Text1 的输入,求和的结果在标签Label1中显示,如下图所示。Private Sub Command1_Click() Dim s As Single Dim n, i As Integer ______(1)______ = Val(Text1.Text) s = 0 i = 1 Do While i <= 1 n s="s" + (______(2)______) i="i" loop label1.caption="______(3)______" end sub 补全程序,在答题时,务必在答题框中写好题号和答案,如下: (1): _________ (2): (3):>

点击查看答案

第5题

下面程序的运行结果是 #include<stdio.h> main() { char a[]="morning",t; int i,j=0; for(i=1;i<7;i++) if(a[j]<a[i])j=i; t=a[j]; a[j]=a[7]; a[7]=a[j]; puts[a];}

A.mrgninr

B.mo

C.moring

D.morning

点击查看答案

第6题

下面程序的运行结果是【 】。 include<stdio.h> define SIZE 12 main() { char s[SIZE];int i;for(i=0;i<SIZE;i++) s[i]=A+i+321; sub(s,7,SIZE-1); for(i=0;i<SIZE;i++) printf("%c",s[i]); printf("\n");} sub(char *a,int t1,int t2) { char ch; while(t1<t1) { ch=*(a+t1); *(a+t1)=*(a+t2); *(a+t2)=ch; t1++;t2--;} }

点击查看答案

第7题

阅读下列FORTRAN77程序: INTEGER A(3,3) DATA A/1,2,3,4,5,6,7,8,9/ S=0.0 DO 10 I=1,3 J=MOD(I,3)+1 S=S+A(I,J) 10 CONTINUE WRITE(*,*)S END 上述程序运行后,输出的S值为( )。

A.15.0

B.12.0

C.18.0

D.24.0

点击查看答案

第8题

阅读下列FORTRAN77程序: INTEGER A(3,3) DATA A/1,2,3,4,5,6,7,8,9/ S=0.0 DO 10 I=1,3 J=MOD(I,3)+1 S=S+A(I,J) 10 CONTINUE WRITE(*,*)S END 上述程序运行后,输出的S值为( )。

A.15.0

B.12.0

C.18.0

D.24.0

点击查看答案

第9题

阅读下列FORTRAN77程序: INTEGER A(3,3) DATA A/1,2,3,4,5,6,7,8,9/ S=0.0 DO 10 I=1,3 J=MOD(I,3)+1 S=S+A(I,J) 10 CONTINUE WRITE(*,*)S END 上述程序运行后,输出的S值为( )。

A.15.0

B.12.0

C.18.0

D.24.0

点击查看答案

第10题

【填空题】Most systems are constructed around a (1),...

【填空题】Most systems are constructed around a (1), a metal (2) containing a series of slots linked through a (3), to a 16- or 32-bit processor. Memory is added by plugging a (4) board into one of the open slots. Without input and (5), the computer is useless, so a display (6) is plugged into another (7), and a display unit connected to it. A (8) is plugged into a special slot on motherboard. A printer can be attached through a (9) interface. And if a diskette interface is plugged into an open slot, a diskette drive can be added. At this point, you have got a complete (10) system.

点击查看答案
热门考试 全部 >
相关试卷 全部 >
账号:
你好,尊敬的上学吧用户
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
谢谢您的反馈

您认为本题答案有误,我们将认真、仔细核查,
如果您知道正确答案,欢迎您来纠错

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
上学吧
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反上学吧购买须知被冻结。您可在“上学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
上学吧
点击打开微信