Write an if/else statement with the following condition:

if (condition) {     block of code to be executed if the condition is true } else {     block of code to be executed if the condition is false }

Edit This Code:
Result:
Correct Code:
Correct Result:
Exercise - © w3schools.com