Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool isOver=0;
- while (!isOver){
- string sName;
- cin>>sName;
- int nScore;
- cin>>nScore;
- if (sName=="No more") isOver=1;
- else {
- names.push_back(sName);
- scores.push_back(nScore);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement