Boolean expressions
Which of the following is/are true?
- Boolean expressions can be used in assignment statements as well as If...Then statements
- If used in an assignment statement, the Boolean expression would be on the left hand side of the equal sign
- If a Boolean expression appears in an assignment statement, it must be assigned to a Boolean variable
- If a Boolean variable appears in an assignment statement, it must be assigned to a Boolean expression
- You can use Boolean constants in Boolean expressions
- You can use Numeric constants in Boolean expressions
- You can use numeric expressions in Boolean expressions
Explain your answers.