-->
当前位置:首页 > 题库

单选题:下面代码运行结果显示( )。

Luz5年前 (2021-05-10)题库1669
下面代码运行结果显示( )。 @[C](2)
```
double temperature = 50;
if (temperature >= 100)
System.out.println("too hot");
else if (temperature <= 40)
System.out.println("too cold");
else
System.out.println("just right");
```
A. too hot
B. too cold
C. just right
D. too hot too cold just right




A.too hot
B.too cold
C.just right
D.too hot too cold just right


答案:C