16. What is wrong


#1

What is wrong?


#2

@systemcoder67354 this is general forma of the if/else blocks

if(condition_is_true){
    //Do something here
}
else{
    // go here if the condition in the if
    //block is false
}

so in your code it is printing both statements because you are forcing the else block to follow the same condition for the if block.

try this

if (3*7===21){
    console.log("This condition is true");
}
else{
    console.log("This condition is false");
}

#3


It worked but I also had to change 7*3===2123 or any number that is not the correct answer