Solved

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

Question 3

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents