How can we write code that adapts to different situations? By using the if statement.

We code the if keyword for an if statement.

Make sure to type if.