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