Which of the lettered choices is equivalent to the following decision? if x > 10 then if

Question:

Which of the lettered choices is equivalent to the following decision?

if x > 10 then

if y > 10 then

output "X"

endif

endif


a. if x > 10 OR y > 10 then output "X" endif

b. if x > 10 AND x > y then output "X" endif

c. if y > x then output "X" endif

d. if x > 10 AND y > 10 then output "X" endif

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: