SET EXACT ON
s="ni"+SPACE(2)
IF s=="ni"
IF s="ni"
? "one"
E.LSE
? "two"
E.NDIF
E.LSE
IF s="ni"
? "three"
E.LSE
? "four"
E.NDIF
E.NDIF
RETURN
A.) one
B.) two
C.)three
D.)four
[单选题]下列程序的运行结果是( )。 SET EXACT ON s="ni"+SPACE(2) IF s="ni" IF s="ni" ? "one" ELSE ? "two" ENDIF ELSE IF s="ni" ? "three" ELSE ? "four" ENDIF ENDIF RETURNA.oneB.twoC.threeD.four
[单选题]执行以下命令之后,输出结果是( )。 SET EXACT OFF X=”m” ?IIF(”M”=X,X-”ore”,X+”any”)A. MoreB. m oreC. ManyD. m any
[单选题]下列程序的运行结果是#include "stdio.h"main( ){ int x=-9,y=5,z=8;if(x<y)if(y<0) z=0;else z+=1;printf("%d/n",z);}A.6B.7C.8D.9
[单选题]下列程序的运行结果是#include "stdio.h"main(){ int x=-9,y=5,z=8;if(x<y)if(y<0)z=0;else z+=1;printf("%d/n",z);}A.6B.7C.8D.9
[单选题]执行以下命令,输出结果是( )。 SET EXACT OFF A=”计算机” B=”计算机等级考试” ?A=BA. 计算机B. 等级考试C. .T.D. .F.
[单选题]下列程序的运行结果是______。 Class C14 implements Runnable { private int i; public C14(int n) { this.i = n; } public void run{) { try { Thread.currentThread().sleep(i); } catch(InterruptedException ie) { System.err.println(ie.tString()); } System.out.println("
[单选题]下列程序的运行结果是 #include"stdio.h" main() { intx=-9,y=5,z=8; if(x<y) if(y<0)z=0; else z+=1; printf("%d/n",z);}A.6B.7C.8D.9
[单选题]下列程序的运行结果是 SET TALK OFF STORE 0 TO S N=20 DO WHILE N>S S=S+N N=N-2 ENDDO ?S RETURNA.0B.2C.20D.18
[单选题]下列程序的运行结果是( )。classShapepublicShape()System.out.print("Shap"):))classCircl
[单选题]下面程序的运行结果是includemain(){char a[]="morning",t; int i,j=0; for(i=1;i<7;i下面程序的运行结果是 #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.mrgninrB.moC.moringD.morning