I have a problem using switch statement when I tried to deal with a special situation. For example, I have 3 cases: A, B, C.
You can do this:
switch (variable){ case A: do statement_1; do statement_3; break; case B: do statement_2; do statement_3; break; }