Question: below are the options Question 2 (2 points) 14 15 16 17 18 19 20 21 22 23 int x = 5; int y 6;

Question 2 (2 points) 14 15 16 17 18 19 20 21 22 23 int x = 5; int y 6; if (x 5) puts("Meow"); } else puts("hi"); puts("bye"); How the above code snippet, if at all, must be changed to output the following: bye Noter it is a multi-select question, therefore, one or more options can be correct also remember to deselect any incorrect choices that you may have mistakenly selected How the above code snippet, if at all, must be changed to output the following: bye Notel It is a multi-select question, therefore, one or more options can be correct, also remember to deselect any incorrect choices that you may have mistakenly selected. A) No change required as that is what the original code's output is. B) Change line# 15 to the following: int x = 1; C) Delete line# 21 D) Add a pair of braces to enclose line# 18 to line# 21
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
