Ask Question

An if statement is based on Boolean logic because

1) the condition in the statement test true or false

2) it contains two different conditions

3) it returns either a 0 or 1

4) it uses shorthand operators

+4
Answers (1)
  1. 18 August, 15:13
    0
    Option 1, since you're going to execute the statements contained within the if statement or you're not (yes OR no = boolean choices).
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “An if statement is based on Boolean logic because 1) the condition in the statement test true or false 2) it contains two different ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers