Explain the working of conditional operator with an example. What type of operator is it?
Answers
Answered by
1
Answer:
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. Leahy, Paul.
pls mark me brainest
Similar questions