// a nonsense program to show importance of break #include using namespace std; int main() { char alpha; cout<<"Enter a letter from a to c: "; cin>>alpha; switch (alpha) { case 'A': case 'a': cout<<"A for angst\n"; break; case 'b': case 'B': cout<<"B for break that is missing\n"; case 'c': case 'C': cout<<"C for computer\n"; break; default: cout<<"No, no, no! Just A, B or C!\n"; } //switch alpha return 0; } // main