REWRITE THE FOLLOWING USING TERNARY OPERATOR
IF (X>=Y)
{
ELSE
IF( Y<X)
A= " EXCELLENT"
ELSE
B= "GREAT "
Answers
Answered by
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
English,
19 days ago
Science,
19 days ago
Math,
9 months ago
Chemistry,
9 months ago
Social Sciences,
9 months ago