阅读以下程序,则y=( )。x=[4,-9,25];if x>=0y=sq... are negative.')end
举一反三
- 阅读以下程序,则[img=38x19]17e444e4ebeeb13.jpg[/img]x=[4,-9,25];if x>;=0y=sqrt(x)elsedisp('some of the elements of x are negative.')end 未知类型:{'options': ['17e444e4f6592ca.jpg17e444e50045036.jpg [img=47x16]17e444e50a4f02a.jpg[/img]', ' [img=46x16]17e444e4f6592ca.jpg[/img][img=47x16]17e444e513f91b8.jpg[/img][img=47x16]17e444e50a4f02a.jpg[/img]', ' some of the elements of x are negative'], 'type': 102}
- 阅读下面的JavaScript代码,输出结果是function f(y) {var x=y*y;return x;}for(x=0;x<; 5;x++) {y=f(x);document.writeln(y);} A: 0 1 4 9 16 25 B: 0 1 2 3 4 C: 答案都不对 D: 0 1 4 9 16
- 阅读以下程序,则y=()。 x=[4,-9,25]; ifx<0 disp('someoftheelementsofxarenegative.') else y=sqrt(x) end A: 2.0000+0.0000i 0.0000+3.0000i 5.0000+0.0000i B: 2.0000 3.0000 5.0000 C: 2.0000-1.0000i 3.0000 5.0000 D: 2.0000 3.0000 5.0000i
- 有如下事件程序,运行该程序后输出结果是_________。 Private Sub Command33_Click() Dim x As Integer, y As Integer x=1:y=0 Do Until y<=25 y=y+x*x x=x+1 Loop MsgBox "x=" & x &",y=" & y End Sub A: x=1,y=0 B: x=4,y=25 C: x=5,y=30 D: 输出其他结果
- 阅读下面的JavaScript代码,执行结果为?function f(y) { var x = y * y; return x;}for(x = 0; x < 5; x++) { y = f(x); document.write(y+" ");} A: 0 1 2 3 4 B: 0 1 4 9 16 C: 0 1 4 9 16 25 D: 以上答案都不对