0
plzz help
Please select the correct statements about && and || operators. Select all that apply (a || b ) && c is true if c is true and either a or b is true a && b is true if either a or b is true a || b is true if either a or b is true a && b is false if both a and b are true
3 odpowiedzi
+ 1
two answer-
(a || b ) && c is true if c is true and either a or b is true
a && b is true if either a or b is true
0
a||b means either a or b is true for it to return through
a&&b means both a and b must be true for it to return true.
Otherwise false will be returned.
Hence 1&3 are true, 2&4 are false
- 2
Please select the correct statement about &&and//operations
a & b is false if both a and baretrue
(a//b) c is true if c is true and either a or b is true
a//b is true if either a or b is true
a && b is true if either a or b is true