Question: Chapter 1 9 : STL Assignment Create a map and store social security numbers by names. Iterate through your container and retrieve all names. Seach

Chapter 19: STL Assignment
Create a map and store social security numbers by names.
Iterate through your container and retrieve all names.
Seach for an individual name and print the ssn.
Search for a name that is not found.
Example Output:
Person 123-45-6790: Paul Brown
Person 123-45-6791: Mary Smith
Person 123-45-6789: John Smith
Person 123-45-6792: Lisa Brown
Iterating through list...
123456789: John Smith
123456790: Paul Brown
123456791: Mary Smith
123456792: Lisa Brown
John Brown not found
Paul Brown found 12345790
Press any key to continue ..(In C++) Chapter 19: STL Assignment
Create a map and store social security numbers by names.
Iterate through your container and retrieve all names.
Seach for an individual name and print the ssn.
Search for a name that is not found.
Example Output:
Person 123-45-6790: Paul Brown
Person 123-45-6791: Mary Smith
Person 123-45-6789: John Smith
Person 123-45-6792: Lisa Brown
Iterating through list...
123456789: John Smith
123456790: Paul Brown
123456791: Mary Smith
123456792: Lisa Brown
John Brown not found
Paul Brown found 12345790
Press any key to continue ...
Chapter 1 9 : STL Assignment Create a map and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!