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
Q7: If the variable named AVG has
Q8: If the variable named AVG has
Q9: Which program flowcharting symbol is used to
Q10: If the variable named AVG has
Q11: The no-function condition is usually called a
Q13: If no special alternative action is required
Q14: The following pseudocode
IF AVG
Q15: In a nested IFTHENELSE pattern,all the tests
Q16: In a sequential IFTHENELSE pattern,whether tests after
Q17: The following pseudocode
IF AVG
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents