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

Verified
Correct Answer:
Verified
Related Questions
Q15: An algorithm can be expressed by the
Q16: If the variable named AVG has
Q17: The statements Write A and Write "A"
Q18: In a sequential IFTHENELSE pattern,whether tests after
Q19: A nested IFTHENELSE pattern cannot contain a
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
Q25: If the variable named ANSWER has