Computer Science, asked by Anonymous, 10 months ago

EXPLAIN USAGE OF *TERNARY OPERATOR NO ŚPĀM ❌​

Answers

Answered by 18shreya2004mehta
2

Answer:

Ternary operator. The ternary operator is an operator that exists in some programming languages, which takes three operands rather than the typical one or two that most operators use. It provides a way to shorten a simple if else block. For example, consider the below JavaScript code.

Answered by 4444tclgpdi11h
0

Answer:

The ternary operator is an operator that exists in some programming languages, which takes three operands rather than the typical one or two that most operators use. It provides a way to shorten a simple if else block. ... With this type of comparison, you can shorten the code using the ternary operator.

Explanation:

please mark as brinlist and follow me

Similar questions