What is output by the following C# code segment?

```
int temp = 200;
if (temp > 90)
{
Console.WriteLine("This porridge is too hot.");
}
if (temp < 70)
{
Console.WriteLine("This porridge is too cold.");
}
if (temp == 80)
{
Console.WriteLine("This porridge is just right!");
}
```

a) This porridge is too hot.
b) This porridge is too cold.
c) This porridge is just right!
d) None of the above.

a) This porridge is too hot.

Computer Science & Information Technology

You might also like to view...

A(n) ________ is the component of a database that stores the data

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following resume types is NOT described in the textbook?

A) Standard B) Hybrid C) Chronological D) Functional

Computer Science & Information Technology