text: This is the code from my MUD. I need to know how to make it so case 2 and 3 don't display all the code after the switch statmentThis is the code from my MUD. I need to know how to make it so case 2 and 3 don't display all the code after the switch statmentCode:#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { char namen[100]; int initial; int strength; int agility; int defense; cout<<"What would you like to do?"; cout<<"\n1.New game\n2.Load game\n3.Exit\n"; cin>>initial; switch(initial){ case 1: cout<<"Enter your name:"; cin>>namen; cout<<namen<<" is it. Alright then"; cout<<"Enter your strength agility and defense(must=20):\n"; cin>>strength>>agility>>defense; if(strength+agility+defense==20) cout<<"\nyay!\n"; break; case 2: cout<<"Not availiable yet"; break; case 3: return 0; break; default: cout<<"error"; } cout<<" Welcome to naushmien\n\n*Dramatic Music*\n\n"; system("PAUSE"); return EXIT_SUCCESS; }
  for now. When I actually implement loading I want it to display the code after the switch.