In the following problems, the variable color code will contain only integer values. There are three valid codes: 1 = Red, 2 = Blue, 3 = Yellow. All other codes are invalid.

Write three single-line IF statements that outputs the name of the
corresponding color to each valid color_code.


```
b) IF color_code =1 THEN OUTPUT "Red"
IF color_code = 2 THEN OUTPUT "Blue"
IF color_code = 3 THEN OUTPUT "Yellow"
```

Computer Science & Information Technology

You might also like to view...

You need to enable MAC address _____________ if any network communication from the virtual machine will use a MAC address other than the MAC address configured in the virtual machine.

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

Computer Science & Information Technology

_________ occurs whenever an individual gains admission to a computer, network, file, or other computing resource without permission. A. Unauthorized access B. Network routing C. Network evasion D. Unauthorized termination

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

Computer Science & Information Technology

________ documents cannot be edited after being exported

A) PDF or XPS B) HTML or DOCX C) JPEG or PDF D) DOCX or XPS

Computer Science & Information Technology

If a measurement unit is not included when specifying width and height attributes for an image, the measurement defaults to:

A) inches. B) percentages. C) points. D) pixels.

Computer Science & Information Technology