plzz help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

22nd Nov 2017, 8:45 AM
jethro domin
jethro domin - avatar
3 Answers
+ 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
8th Oct 2020, 1:54 AM
Mehedi Hasan
Mehedi Hasan - avatar
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
22nd Nov 2017, 8:53 AM
๐Ÿ‘‘ Prometheus ๐Ÿ‡ธ๐Ÿ‡ฌ
๐Ÿ‘‘ Prometheus ๐Ÿ‡ธ๐Ÿ‡ฌ - avatar
- 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
20th Sep 2020, 7:51 AM
Haritap Kumar
Haritap Kumar - avatar