string name, street, state;
                  
                  
                      int zip;
                  
                  
                      char more_data = 'Y';
                  
                  
                  
                  
                  
                      do {
                  
                  
                          cout<<"\n \nName..........";
                  
                  
                          getline(cin,name);
                  
                  
                          cout<<"Street........";
                  
                  
                          getline(cin,street);
                  
                  
                          cout<<"State.........";
                  
                  
                          getline(cin,state);
                  
                  
                          cout<<"Zip Code......";
                  
                  
                          cin>>zip;
                  
                  
                          
                  
                  
                          cout<<"\n \nEnter another Record? (Y/N) \t";
                  
                  
                          cin>>more_data;
                  
                  
                      }
                  
                  
                          while((more_data == 'y') ||(more_data == 'Y') );
                  
                  
                  
                  
                  
                          }
                  
                  
                
It looks like you posted long piece of code, consider editing it out and putting it on hastebin.com and pasting link to it instead. Alternatively, send your code in a file.
Обсуждают сегодня