let num = 10;
if (((num % 2) == 0) || ((num%3) == 0))
console.log("divisible by 2 or 3"); // this will print
else
console.log("divisible by some other number.");
let num = 10;
if (((num % 2) == 0) || ((num%3) == 0))
console.log("divisible by 2 or 3"); // this will print
else
console.log("divisible by some other number.");