Guest User

Untitled

a guest
Jun 21st, 2016
92
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include iostream
  2.  
  3. int main()
  4. {
  5.     int answer;
  6.  
  7.     do
  8.     {
  9.      std::cout << "" << std::endl << std::endl;
  10.      std::cout << "" << std:: endl;
  11.      std::cout << "" << std:: endl;
  12.      std::cin >> answer
  13.      
  14.     }
  15.  
  16.     if( answer == 2)
  17.     {
  18.         break;
  19.     }
  20.    
  21.     std::cin.clear(), std::cin.sync();
  22.     }while(true);
RAW Paste Data