Computer Science, asked by asmita1149, 3 months ago

(3) Rewrite the following using if-else:
boolean x =(a>b)? true : false;​

Answers

Answered by amansarrafas24payxgs
2

Answer:

if(a>b

{

x = true;

}

else

{

x = false;

}

I hope you find it useful... If you have any query do comment, I will try to solve it...

Similar questions