i have a switch with cases and in one I have a for loop with several if's, I want to go to the menu(get out of this case) if the user gives a "b" for no, but it doesn't do anything with the do{}, while(exiting =! false), the program keeps running, I can't use breaks,
It looks something like this:

```
case 'E': { 
    bool exiting = true;
    do {
        cout << "For how many minutes do you want to book the service? ";
        cin >> minutes;
        for(int i = 0; i < cantServ; i++) {
           if(minutes > listaServicio[position]->getMaxTime()){ 
               cout<< "the machine has a time limit, do you want to book it for 
               less time? (a= yes, b = no) ";
                cin>>anwser; 
                if(answer== 'a'){
                    cout << "how many minutes do you want to book? "; 
                    cin >> minutes; 
                  } else { 
                    exiting = false; }               
                 }  
              }
           } while(exiting != false);

           break;
           }

```