First page Back Continue Last page Graphics
switch (cont.)
Execution does not stop at the next case statement.
You explicitly tell it to skip by using the break statement.
switch ( choice )
{
case 1 : cout << “one” << endl;
break;
case 2 : cout << “two” << endl;
break;
default : cout << “other” << endl;
}