If the variable named ANSWER has a value of 1, what will be output after the instructions corresponding to the following pseudocode are executed?

```
IF ANSWER = 1 THEN
Write “Hello”
(ELSE)
ENDIF
IF ANSWER = 2 THEN
Write “Goodbye”
ELSE
Write “Good day”
ENDIF


```

a) Hello
b) Goodbye
c) Good day
d) both a and c


d) both a and c

Computer Science & Information Technology

You might also like to view...

switch can be used to test:

a. int constants. b. float constants. c. string constants. d. all types of constants.

Computer Science & Information Technology

A JEditorPane generates HyperlinkEvents only if it is __________.

a. invisible. b. visible. c. uneditable. d. editable.

Computer Science & Information Technology

To rotate a pie chart, you change the ________ of the first slice

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following commands displays the router's running-configuration?

A) router# show running-configuration B) router# show rip running-configuration C) router> show ip running-configuration D) router# show configuration

Computer Science & Information Technology