0
I need to help me to pass the test module 2 quiz question 3/5.
2 Respuestas
+ 1
these two are correct,
a || b is true if either a or b is true
(a&&b)||c is tru if c is true
the a && b means that both arguments needs to be true in order for the expression to be true and the a || b means that just one needs to be true or both can be true in order for the expression to be true. so in the, (a&&b)||c is tru if c is true.
(a&&b) is false and since it is inside the brackets it is calculated first following the classic mathematical principal, but the || c is true with makes the expression true.
0
think you. you are the best