Switch Structure switch(grade) { case 'A' : case 'B' : cout << Good Work ; break; case 'C' : cout << Average Work ; break; case 'D' : case 'F' : cout << Poor Work ; break; default : cout << grade << is an invalid letter grade ; break; }
{}