Computer Science, asked by vmani9919, 4 days ago

what is conditional operator?​

Answers

Answered by soniyalamani941
3

Answer:

The Conditional operator is supported in many programming languages. This term usually refers to?: as in C, C++, C#, and JavaScript. However, in Java, this term can also refer to && and ||.

Answered by llsll0123456
2

{\huge{\underline{\small{\mathbb{\purple{Ans~♥~}}}}}}

The conditional operator "&&" first evaluates whether its first operand (i.e., number % 2 == 0) is true and then evaluates whether its second operand (i.e., number % 4 == 0) is true. As both are true, the logical AND condition is true.

Similar questions