Computer Science, asked by addyrocks1094, 1 year ago

what is conditional operator explain with the help of an example

Answers

Answered by vani53
1
An Example of Conditional Operators. 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
Answered by AzeemAhmedKhan
1
An Example of Conditional Operators. 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