(3) Rewrite the following using if-else:
boolean x =(a>b)? true : false;
Answers
Answered by
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