let smart = true;
let age = 19;
if (age < 21 && smart) {
   alert("John is allowed");
}