The if Statement

The Structure #

The simplest conditional statement that we can write is the if statement. It comprises of two parts:

  1. The condition
  2. The code to be executed