Compiling...
When a program needs to choose between many discrete options based on the value of a single variable, an else-if ladder can become long, cluttered, and repetitive.
C provides the switch statement as a cleaner, more efficient multi-way branch selection tool.