The following code displays ___________.

```
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


c. just right

Computer Science & Information Technology

You might also like to view...

Converting from type ________ to type ________ will result in the loss of data.

a. bool, char. b. float, double. c. int, char. d. short, long.

Computer Science & Information Technology

The _________ tab in each Microsoft Office application contains the commands for the most frequently performed activities.? A. File B. Design C. Home D. Review

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

?In a report, the executive summary is used to summarize an entire project, including recommendations, in several paragraphs.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

____________________ builds an environment that provides separate name spaces for classes loaded from different locations.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology