阅读下面代码if(x==0){System.out.println("冠军");
2024-06-20 145次 计算机二级 反馈错误 加入收藏 正确率 : 100%
题目内容:
[单选题]阅读下面代码 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
本题链接: