Compound Conditions

  • Logical operators
    • && (and)
    • || (or)
  • Example:
    • if (yourAge >= 21 && yourGender == "Male")
< >