Change to ternary operator.
Attachments:
Answers
Answered by
1
If-else construct to ternary :-
g = a>b? (a>c ? a:c) : (b>c ? b:c);
Hope it helps
plzzz mark as the brainliest
And also plz follow me...
Will follow u back
Similar questions