Problem in Ex;16 More practice in conditions


#1


Replace this line with your code.


#2

well for this one I just did a simple comparison like 8 + 5 = 12 or something to that nature like 7 > 6. Then I would set up it in my if else statement with that equation. And for the console.log I simply just put the condition is true or the condition is false. Therefore your version might end up something like this:

if equation
{ console.log("This condition is true");
}
else
{ console.log("This condition is false");
}


#3

Thanks for the solution


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.