Computer Science, asked by SaanviDhone, 1 month ago

REWRITE THE FOLLOWING USING TERNARY OPERATOR
IF (X>=Y)
{
ELSE
IF( Y<X)
A= " EXCELLENT"
ELSE
B= "GREAT "​

Answers

Answered by thakuranshita499
0

Answer:

Rewrite the following using ternary operator:

if(a > b)

{

if (a > c)

g = a;

else

g = c;

}

else if (b > c)

g = b;

else

g = c;

Similar questions