Determine the output value of A in the program for the given input values of X and

Question:

Determine the output value of A in the program for the given input values of X and Y.
LET Z = X + Y
IF (Z ( 0) AND (X > 0)
THEN LET A = 6
ELSE LET A = 4
(a) X = 0, Y = 0
(b) X = 8, Y = -8
(c) X = -3, Y = 3
(d) X = -3, Y = 8
(e) X = 8, Y = -3
(f) X = 3, Y = -8
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Finite Mathematics and Its Applications

ISBN: 978-0134768632

12th edition

Authors: Larry J. Goldstein, David I. Schneider, Martha J. Siegel, Steven Hair

Question Posted: