For the given input values of X and Y, use the program to determine the output value

Question:

For the given input values of X and Y, use the program to determine the output value of Z.
IF Y ( 0
THEN LET Z = X / Y
ELSE LET Z = -1,000,000
(a) X = 6, Y = 2
(b) X = 10, Y = 5
(c) X = 5, Y = 10
(d) X = 0, Y = 10
(e) X = 10, Y = 0
(f) X = -1,000,000, Y = 1
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: