Question: % Consider the following function, and the code below the line that calls it . % Select the answer that best describes the valu e
Consider the following function, and the code below the line that calls it
Select the answer that best describes the valu
of xAnswer and yAnswer when
the function is called.
function logic
if II
true;
else
false;
end
if &&
true;
else
false;
end
xAnswer yAnswerlogic;
XAnswer is true, yAnswer is true
xAnswer is true, yAnswer is false
Answer is false, yAnswer is true
Answer is false, Answer is false
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
