What will be the output of the following code?
var num = 7;
if (num % 2 === 0) {
console.log("Even number");
} else {
console.log("Odd number");
}
What will be the output of the following code?
var num = 7;
if (num % 2 === 0) {
console.log("Even number");
} else {
console.log("Odd number");
}