Advertisement
oconnorct1

Untitled

May 5th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1.     while (cin >> name){
  2.         if(phoneBook[name] != 0){
  3.             x = phoneBook[name];
  4.             cout << name << "=" << x << endl;
  5.         }
  6.         else {
  7.             cout << "Not found" << endl;
  8.         }
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement