Answer may be:
When the selection is based on a single expression or variable then prefer switch statement over if. The switch statement works commendably with integer and character data types.