Multiple Choice
int x, y;if (x 4)
{
If (x > 7)
Y = 4;
Else
Y = 6;
}
Else
Y = 8;Based on the code above, what is the value of y if x = 9?
A) 2
B) 4
C) 6
D) 8
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: =! is a relational operator.
Q13: The symbol >= is a logical operator.
Q14: What does <= mean?<br>A) less than<br>B) greater
Q23: If str1 is "Hello" and str2 is
Q28: int x;<br>X = (1 'K' >= 'F')
Q30: int x, y;if (x 4)<br>{<br>If (x >
Q31: 'A' = 7 || 4 Based on
Q32: The expression !(x is true only if
Q41: Including a semicolon before the action statement
Q43: A program uses selection to implement a