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

Respuesta :

tonb

Option 1, since you're going to execute the statements contained within the if statement or you're not (yes OR no = boolean choices).

A Boolean statement or an algebra is a part of the algebra and includes the variable and variable that are true or false. It is usually denoted by 1 and 0.

  • Algebra was given in 1874 and is prepared by the modern development is in abstract algebra and mathematical logic.
  • Values are denoted by the numeric elements.

Hence the option 1 is correct.

Learn more about the based on Boolean logic because.

brainly.com/question/11939317.

ACCESS MORE