Ask Question
5 April, 02:15

Which answer choice is equivalent to the following decision?

if a > 12 then

if b > 8 then

output "Yes"

endif

endif

a. if a > 12 OR b > 8 then output "Yes"

b. if a > b then output "Yes"

c. if a > 12 AND a > b then output "Yes"

d. if a > 12 AND b > 8 then output "Yes"

+3
Answers (1)
  1. 5 April, 04:08
    0
    D. if a > 12 AND b > 8 then output "Yes"

    D is the only one that correctly combines those two logic gates. The and statement requires both conditions to be met just as the lengthy piece of code above does.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which answer choice is equivalent to the following decision? if a > 12 then if b > 8 then output "Yes" endif endif a. if a > 12 OR b > 8 ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers