## Logical operators

The following logical operators can be used in Ans:

- a
**&&**b : a and b need to be on the same line, but the order is not important. - a
**$$**b : a and b need to be on the same line and in the given order. - a
**@@**b : a and b can be on different lines, but have to be in the given order. - a
**||**b : a or b.

## Examples

- (a && b) || (a $$ b) : combinations always have to be in brackets.
- (a) || (a $$ b) : combinations always have to be in brackets.
- a = b * c can be written as:

(a) $$ (=) $$ (b && * && c)

## Comments

0 comments

Please sign in to leave a comment.