A common problem with the if-else statement is using the assignment operator, =, in place of the relational operator ==. The switch statement requires you to list the case values in increasing order. A switch statement can contain any number of case labels in any order.