A.x>0
B.x>-3
C.x<=-3
D.x-3
第1题:
给出下面程序段 if(x>0) System.out.println("Hello."); else if(x>-3) System.out.println("Nice to meet you!"); else System.out.println("How are you?"); 若打印字串"How are you?",则x的取值范围是( )。
A.x>0
B.x>-3
C.x<=-3
D.x<=0&x>-3
第2题:
阅读下面代码 if(x==0){System.out.println("冠军");} elseif(x>-3){System.out.println("亚军");} else{System.out.println("季军");} 若要求打印字符串“季军”,则变量x的取值范围是( )。
A.x=0&x<=-3
B.x>0
C.x>-3
D.x<=-3
第3题:
给出下面程序段: if(x>0) {System.out.printin("Hello.");} else if(x>-3) { System.out.println("Nice to meet you!");} else{System.out.println("How are you?");} 若打印字符串"How are you?",则x的取值范围是( )。
A.x>0
B.x>-3
C.x≤-3
D.x≤0&x>-3
第4题:
阅读下面代码 fi(x==0) { System.out.println("冠军");} else if (x>-3) { System.out.println("亚军"); } else { System.out.println("季军");} 若要求打印字符串“季军”,则变量x的取值范围是( )。
A.x=0 & x<=-3
B.x>0
C.x>-3
D.x<=-3
第5题:
给出下面程序段: if(x>0){System.out.println("Hello.");} else if(x>-3){System.out.println("Nice to meet you!");} else{System.out.println("How are you?");} 若打印字符串“How are you?”,则x的取值范围是
A.x>0
B.x>-3
C.x<=-3
D.x<=0&x>-3