Exercise:

The if/else statement does not work. Try to fix it.

Hint: Some curly braces are missing.

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