- 2
True or false 34<23 || 12!=5 ?
According to logical operator
4 ответов
+ 4
Kashish you can try it out in Sololearn's Code Playground and see the result. It is usually quicker than posting the question here and waiting for an answer.
+ 2
What do you think?
+ 2
The answer will will return true due to the or ( || ) condition which validates one statement which is 12!=5 {12 is not equals to 5 }
0
True because || (or operator) return true if one condition is true and second condition 12 is not equal to 5 is true so it will return true. You can use && operator if you want to check if both conditions are true or not.