Ask Question
18 May, 00:06

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

+1
Answers (1)
  1. 18 May, 01:35
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers