Computer Science, asked by ramani1005, 5 months ago

What are the values of x and y when the following statements are executed? [2] int a=63 ,b=36;

Boolean x=(a<b)?true:false;

int y=(a>b)?a:b;

Answers

Answered by jai696
8

Value of x is false

Value of y is 63

Explanation:

Ternary operators logic is the same as if else statements.

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by kirtipal1404
2

Answer:

Value of x is false

Value of y is 63

Explanation:

Ternary operators logic is the same as if else statements.

hope it's helps you

Similar questions