Create a function logicalOperators that uses && and || to combine two boolean variables and logs the result.

Output: