<pre class="brush: cpp; gutter: true">switch (switch_expression)
{
    case constant1: statement1; [break;] 
    case constant2: statement2; [break;]
    case constantN: statementN; [break;] 
    [default: statement N+l;] 
}</pre>