Computer Science, asked by anushansakumari48, 3 months ago

Rewrite the following using ternary operator:
if (a >b)
System.out.print (Ais greater");
else
System.out.print(B is greater");​

Answers

Answered by prasadmanjula715
4

Answer:

A is greater

Explanation:

I hope it is correct

Similar questions