// CODE_RUNNER: Booleans Homework

function isPositiveAndEven(num) {
  let isPositive = num > 0;
  let isEven = num % 2 === 0;   // even check, not odd!
  return isPositive && isEven;
}

// Test it with an input of 8
let testNum = 8;

console.log("Testing number:", testNum);
console.log("Is it positive?", testNum > 0);
console.log("Is it even?", testNum % 2 === 0);
console.log("Final result (positive AND even):", isPositiveAndEven(testNum));