Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (cin >> name){
- if(phoneBook[name] != 0){
- x = phoneBook[name];
- cout << name << "=" << x << endl;
- }
- else {
- cout << "Not found" << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement