Ask Question
26 August, 03:13

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

+5
Answers (1)
  1. 26 August, 05:57
    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?
Get 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 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