Rewrite the following using ternary operator:
if (a >b)
System.out.print (Ais greater");
else
System.out.print(B is greater");
Answers
Answered by
4
Answer:
A is greater
Explanation:
I hope it is correct
Similar questions