Very similarly to how we describe it verbally when there is a logical conversation, the if and the if/else in programming languages are common structures to make conditional decisions and choose corresponding execution paths (Figure 10-1).
if (a == 3) {
<do something>
}
This is similar to, but not completely the same, as:
if (a == 3) {
<do something>
} else {
<do something else>
}