Question: 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
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 = 1 THEN Write Hello (ELSE) ENDIF IF ANSWER = 2 THEN Write Goodbye ELSE Write Good day ENDIF 1-Hello 2- Goodbye 3- Good day 4-both a and c
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
