Create two variables x and y and store numbers in them. Write an expression that would be true if the value of x is greater than five or if the value of y is less than ten, but not if both of those are true
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:1| Question number:19.1
All Answers
total answers (1)
>> x = 3; >> y = 12; >> xor(x > 5, y < 10) ans = 0
need an explanation for this answer? contact us directly to get an explanation for this answer