- 2
a && b is true if either a or b is true
why that didn't be accepted in Conditionals and Loops Quiz?
5 Answers
+ 6
A && B is true when both A and B is true (1) as it perform multiplication operation so for that both value should be true that is 1.
So the statement either a or b is false that's why its not accepted in quiz.
A OR B is give true when any one operand is true
Pyae Sone Kyaw
+ 4
&& -> this is a logical AND operator
Both sides have to be true in order for it to return true.
+ 1
No, you might be confusing || and &&.
0
a is true and b is false, what is the result of a||b
0
E&& is Anders, âAndeâ; âE&&WAâ = <&*âŹ>;<&*Ă>> Anderson <â^A&E*â>
Thep Douang âThe_Andâ;âAndâ;<â&A&â> = âTh^AEâ ^T&&ewaâ Thep Douang :{ Ewa:^Ew&&* }/{^ewand^;*Weand* for =(*âAndreâ^) /Thep Douang And