Consider the following code snippet. Choose the correct option if
the code is written using ternary operator.
iffa>b)
x=a;
else
x=b;
A
x=(a>b)?a:b;
В.
x=(b>a)?a:b;
x=(a>b)?b:a;
D.
x=(a>b)?a:a;
ОА
O
D
С
B
Answers
Answered by
0
Answer:
fjFjfzzkydktdtkzlyzglxlhxlhxgl
Similar questions