Computer Science, asked by qnabrainly124, 6 hours ago

explain, with an example, how the conditional operator (? :) can be used as an alternative  to if else.​

Answers

Answered by johnjoshua0210
0

Answer:

C#'s conditional operator ( ?: ) is a concise alternative to an if/else statement. This operator works on three values. The first is a true/false expression. ... That way when the true/false expression is false , a second conditional operator checks another condition.

Answered by bg601267
8

Explanation:

I think this answers help you

Attachments:
Similar questions