C Programming, Programming, Programming In 5 Minutes, Fundamentals, C Plus Plus Training.
Multiple choices switch (expression) { case constant_1: // code to execute if expression == constant_1 break; case constant_2: // code to execute if expression == constant_2 break; // ... default: // code to execute if no case matches } 6. Functions Functions are blocks of code that perform a