Multiple Choice
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 Write "Hello"
(ELSE)
IF ANSWER THEN
Write "Goodbye"
ELSE
Write "Good day",
ENDIF
A) Hello
B) Goodbye
C) Good day
D) both a and c
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q20: If the variable named ANSWER has
Q21: The following pseudocode<br>IF AVG <span
Q22: If the variable named AVG has
Q23: If the variable named AVG has
Q24: A diamond shape symbol on a program
Q26: The following pseudocode<br>IF AVG <span
Q27: If the variable named AVG has
Q28: The keyword ELSE is not needed when
Q29: Which program flowcharting symbol is used as
Q30: If the variable named GRADE has a