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

Which of the following is used to return an object to a physical arrangement that was previously saved?

a. Billboard b. Dummy c. Pose d. Vehicle e. None of these

Computer Science & Information Technology

Write a DTD for an XML document that stores company profiles. Each company is represented by a company element. Profiles must contain a name element and a tour element. Element tour points to a .jpg image or to an HTML page that relates to the company. Element tour should specify the type of image or document to which it points. [Note: The type of image should be specified by a NOTATION type attribute.]. Also write an XML document and validate it against this DTD.

What will be an ideal response?

Computer Science & Information Technology