What would be the result of the following expressions?
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:1| Question number:18.1
All Answers
total answers (1)
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:1| Question number:18.1
total answers (1)
'b' >= 'c' – 1 1
3 == 2 + 1 1
(3 == 2) + 1 1
xor(5 < 6, 8 > 4) 0
10 > 5 > 2
0 Evaluated from left to right: 10>5 is 1, then 1 > 2 is 0
result = 3^2 - 20; 0 <= result <= 10
1 Evaluated left to right: 0 <= result is 0, then 0 <= 10 is 1