Solved

If the Variable Named ANSWER Has a Value of 1,what =1THEN= 1 \mathrm { THEN }

Question 25

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 =1THEN= 1 \mathrm { THEN } Write "Hello"
(ELSE)
ENDIF\mathrm { ENDIF }
IF ANSWER =2= 2 THEN
Write "Goodbye"
ELSE
Write "Good day",
ENDIF


A) Hello
B) Goodbye
C) Good day
D) both a and c

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions