The if/else statement can be used to execute a single statement in both the if and the else part, or to execute a block of statements. A block of statements can be executed if curly braces ({, }) are used.