What is conditional operator
give suitable example
Answers
Answered by
2
Answer:
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
0
Answer:
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.
Explanation:
please mark brainliest
Similar questions
Math,
1 month ago
Social Sciences,
1 month ago
Science,
1 month ago
Science,
3 months ago
Math,
3 months ago