Logical operators are used with comparison operators and conditional statements
Output